While as a developer I find this super interesting, as a system administrator this makes me cringe. We don't have a lot of resources for servers, and I end up spending a disproportionate amount of time banning IPs from bots running poorly configured tools like this, which aren't rate limited and crush websites. I'm grateful that "Obey robots.txt" is listed as part of it's standard behavior. If only scrapers cared eno…
Show HN: Headless Chrome Crawler
21–30 of 39 posts
Re: Show HN: Headless Chrome Crawler
#22Re: Show HN: Headless Chrome Crawler
#23While as a developer I find this super interesting, as a system administrator this makes me cringe. We don't have a lot of resources for servers, and I end up spending a disproportionate amount of time banning IPs from bots running poorly configured tools like this, which aren't rate limited and crush websites. I'm grateful that "Obey robots.txt" is listed as part of it's standard behavior. If only scrapers cared eno…
[1] https://www.digitalocean.com/community/tutorials/how-to-prot...
Re: Show HN: Headless Chrome Crawler
#24Pretty 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
I haven’t looked into it, but I imagine it has a pretty clear fingerprint as well. So it would be easier to block than stock chrome in headless mode.
Re: Show HN: Headless Chrome Crawler
#25The stuff we are not seeing open-sourced is the solutions companies are building around trimmed down specialized versions of the headless browsers like Chrome headless, Servo, Webkit. People are running distributed versions of these headless browsers using Apache Mesos, Kubernetes, and Kafka queues.
Re: Show HN: Headless Chrome Crawler
#26Re: Show HN: Headless Chrome Crawler
#27Nice job! Can this be scaled and distributed to multiple machines?
Re: Show HN: Headless Chrome Crawler
#28Pretty 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
Puppeteer has some limitations. You can’t install extensions, for example. I haven’t looked into it, but I imagine it has a pretty clear fingerprint as well. So it would be easier to block than stock chrome in headless mode.
Re: Show HN: Headless Chrome Crawler
#29This has been possible for a long time with any browser using Selenium for example. It has APIs and client libraries for many languages. Also 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 h…
Re: Show HN: Headless Chrome Crawler
#30Pretty 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
Puppeteer has some limitations. You can’t install extensions, for example. I haven’t looked into it, but I imagine it has a pretty clear fingerprint as well. So it would be easier to block than stock chrome in headless mode.
0 - https://github.com/GoogleChrome/puppeteer/issues/850 1 - https://github.com/cretz/chrome-screen-rec-poc/tree/master/a... 2 - https://bugs.chromium.org/p/chromium/issues/detail?id=706008