You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@atomotic
Thanks for filing an issue!
I see puppeteer's document confusing. I read puppeteer's code and I found it uses HTTP_PROXY for downloading Chromium but not for running it.
Actually, it provides another way of using a proxy in this example.
headless-chrome-crawler passes args option to puppeteer when launching and connecting to a Chromium instance.
So it should work in this way:
process.env.HTTP_PROXY is not being passed to puppeteer.launch(), tried with a running proxy and:
env HTTP_PROXY=localhost:8000 node crawl.js
The text was updated successfully, but these errors were encountered: