Unified · Split
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Npm < UrlScraper |
| 3 | 3 | self.name = 'npm' |
| 4 | 4 | self.type = 'npm' |
| 5 | − self.release = '3.8.5' | |
| 5 | + self.release = '3.9.0' | |
| 6 | 6 | self.base_url = 'https://docs.npmjs.com/' |
| 7 | 7 | self.links = { |
| 8 | 8 | home: 'https://www.npmjs.com/', |
| @@ -27,5 +27,11 @@ module Docs · 18 unmodified lines | ||
| 27 | 27 | Licensed under the npm License.<br> |
| 28 | 28 | npm is a trademark of npm, Inc. |
| 29 | 29 | HTML |
| 30 | + | |
| 31 | + private | |
| 32 | + | |
| 33 | + def request_options | |
| 34 | + super.merge accept_encoding: 'gzip' | |
| 35 | + end | |
| 30 | 36 | end |
| 31 | 37 | end |