We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d5febe0 + 7f4263a commit 6b77cf1Copy full SHA for 6b77cf1
src/lib/options.js
@@ -1,6 +1,6 @@
1
const HttpProxyAgent = require("http-proxy-agent");
2
const HttpsProxyAgent = require("https-proxy-agent");
3
-const SocksProxyAgent = require("socks-proxy-agent");
+const { SocksProxyAgent } = require("socks-proxy-agent");
4
5
// Set some extra headers because Puppeteer doesn't capture all request headers
6
// Related: https://github.com/puppeteer/puppeteer/issues/5364
@@ -36,4 +36,4 @@ const setAgent = (proxy) => {
36
};
37
38
39
-module.exports = {setHeaders, setAgent};
+module.exports = {setHeaders, setAgent};
0 commit comments