Better HN
topnewbestaskshowjobs
Log inSign up

paulpro

58 karma · joined Sep 30, 2016 (10y ago) · 4 submissions

Submissions

comment 6y ago · link · parent

What is the reason you are not just getting page content directly with HTTP request? Is headless browser providing some benefits in your case?

comment 6y ago · link · parent

IMO, for the most of the data-gathering needs running a browser (even a headless one) would be an overkill. Browser is better suited for complex interactions, when you need to fully pretend to be a user. Or just for testing purposes so your environments match.

comment 6y ago · link · parent

Have you made it to the end? There is also a quick PoC of how to do same in the browser console

4.

Web Scraping with JavaScript(qoob.cc ↗)

178 points · by paulpro · 6y ago · 88 comments