Unified · Split
| @@ -14,7 +14,7 @@ module Docs · 13 unmodified lines | |||
| 14 | end | 14 | end |
| 15 | end | 15 | end |
| 16 | 16 | ||
| 17 | css('#plusone', '#nav', '.pkgGopher', '#footer', '.collapsed').remove | 17 | css('#plusone', '#nav', '.pkgGopher', '#footer', '.collapsed', '.permalink').remove |
| 18 | 18 | ||
| 19 | # Remove triangle character | 19 | # Remove triangle character |
| 20 | css('h2', '.exampleHeading').each do |node| | 20 | css('h2', '.exampleHeading').each do |node| |
| @@ -1,7 +1,7 @@ | |||
| 1 | module Docs | 1 | module Docs |
| 2 | class Go < UrlScraper | 2 | class Go < UrlScraper |
| 3 | self.type = 'go' | 3 | self.type = 'go' |
| 4 | self.release = '1.6.3' | 4 | self.release = '1.7.0' |
| 5 | self.base_url = 'https://golang.org/pkg/' | 5 | self.base_url = 'https://golang.org/pkg/' |
| 6 | self.links = { | 6 | self.links = { |
| 7 | home: 'https://golang.org/', | 7 | home: 'https://golang.org/', |