I’ve been using puppeteer to scrape and it’s been fantastic. Since it’s a headless browser, it can handle SPA just as well as server side loaded traditional websites. It’s also incredibly easy to use with async/await.
If you need simple scraping, I like traditional http request lib. For more robust scraping (ie clicking buttons / filling text), use capybara and either phantomjs or chromedriver - easy to install using homebrew!
Comments (228) 108 threads
Earlier comments- https://github.com/GoogleChrome/puppeteer
https://github.com/AlexMili/Scraptory
All comments shown.
Couldn't load more comments. Check your connection and try again.