DEV Community

Discussion on: Anonymous Web Scraping with Node.js, Tor, Puppeteer and cheerio

Collapse
 
benjaminmock profile image
Benjamin Mock

Nice post! Great idea to use Tor!

Cheerio though is redundant. You can just run JS in the page context with page.evaluate. That makes it even easier.

Have a look at dev.to/benjaminmock/the-easiest-wa...

Collapse
 
georgegkas profile image
George Gkasdrogkas

Thank you Benjamin. I tried to make the article appeal to novice developers who are not familiar with such techniques. I chose to use cheerio, for its elegant API, which can cover complex cases without bloadting the codebase. My purpose was to provide a technique that can be used both as reference, as well as introduction to some basic concepts of web-scraping.