What’s the best way to handle screen scraping in Node.js? or How can I efficiently do screen scraping

14 Replies, 1838 Views

Cheerio + `request-promise` is my jam for static scraping in node js. Super lightweight and easy to set up.

But yeah, if you need JS rendering, Puppeteer’s the way. Just be prepared for the resource hit.

For CAPTCHAs… ugh. Proxies help, but some sites are just ruthless. Sometimes you gotta accept defeat and find another data source lol.

Btw, freecodecamp has a decent tutorial on screen scraping node js with Cheerio if you’re starting out.

Messages In This Thread



Users browsing this thread: 1 Guest(s)