Skip to content

Commit cccb609

Browse files
committed
Update npm documentation (3.9.0)
1 parent bca4178 commit cccb609

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

lib/docs/scrapers/npm.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Docs
22
class Npm < UrlScraper
33
self.name = 'npm'
44
self.type = 'npm'
5-
self.release = '3.8.5'
5+
self.release = '3.9.0'
66
self.base_url = 'https://docs.npmjs.com/'
77
self.links = {
88
home: 'https://www.npmjs.com/',
@@ -27,5 +27,11 @@ class Npm < UrlScraper
2727
Licensed under the npm License.<br>
2828
npm is a trademark of npm, Inc.
2929
HTML
30+
31+
private
32+
33+
def request_options
34+
super.merge accept_encoding: 'gzip'
35+
end
3036
end
3137
end

0 commit comments

Comments
 (0)