Showing the changes to lib/docs (2 of 2 files). Show all
Unified · Split
| @@ -39,6 +39,10 @@ module Docs · 38 unmodified lines | |||
| 39 | node.name = 'pre' | 39 | node.name = 'pre' |
| 40 | end | 40 | end |
| 41 | 41 | ||
| 42 | css('td[style]').each do |node| | ||
| 43 | node.remove_attribute('style') | ||
| 44 | end | ||
| 45 | |||
| 42 | doc | 46 | doc |
| 43 | end | 47 | end |
| 44 | end | 48 | end |
| @@ -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.version = '1.5.0' | 4 | self.version = '1.5.2' |
| 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/', |