I was stuck last time I was using headless chrome when I needed to use a proxy with an username and a paasword. Headless chrome just doesn't support it. Any changes on that?
Show HN: Headless Chrome Crawler
11–20 of 39 posts
Re: Show HN: Headless Chrome Crawler
#12I was stuck last time I was using headless chrome when I needed to use a proxy with an username and a paasword. Headless chrome just doesn't support it. Any changes on that?
Yeah you just call page.authenticate(user,pass).
Re: Show HN: Headless Chrome Crawler
#13I was stuck last time I was using headless chrome when I needed to use a proxy with an username and a paasword. Headless chrome just doesn't support it. Any changes on that?
There's a workaround - https://blog.apify.com/how-to-make-headless-chrome-and-puppe...
Re: Show HN: Headless Chrome Crawler
#14Earlier quoted context omitted.
There's a workaround - https://blog.apify.com/how-to-make-headless-chrome-and-puppe...
Thanks. Wish it was simpler. It seems overkill to have to an extra proxy in the middle with no auth to authenticate with the one with auth, just to make headless chrome working.
Re: Show HN: Headless Chrome Crawler
#15Earlier quoted context omitted.
There's a workaround - https://blog.apify.com/how-to-make-headless-chrome-and-puppe...
Thanks. Wish it was simpler. It seems overkill to have to an extra proxy in the middle with no auth to authenticate with the one with auth, just to make headless chrome working.
Re: Show HN: Headless Chrome Crawler
#16Pretty cool, but I recommend anyone wanting to do this kind of thing to check out the source Puppeteer library. You can do some really powerful stuff and make a custom crawler fairly easily. https://github.com/GoogleChrome/puppeteer
Re: Show HN: Headless Chrome Crawler
#17I'm grateful that "Obey robots.txt" is listed as part of it's standard behavior. If only scrapers cared enough to use it as well.
Re: Show HN: Headless Chrome Crawler
#18I was stuck last time I was using headless chrome when I needed to use a proxy with an username and a paasword. Headless chrome just doesn't support it. Any changes on that?
It's around 200k and very easy to configure
Re: Show HN: Headless Chrome Crawler
#19Re: Show HN: Headless Chrome Crawler
#20Also using a real browser brings a lot of problems: high resource consumption, hangs, it is unclear when the page has finished loading etc. You have to supervise all browser processes. And if you use promises, there is high chance that you will miss error messages because promises hide them by default.