BeautifulSoup like scraper for nodejs

Jesus_Maria picture Jesus_Maria · Sep 19, 2015 · Viewed 11.6k times · Source

I am former python developer and I have used BS4 for couple of years Now I am developing with node and yes cheerio package is very good, but I need smth like BS4 for scraping in node

Is there some alternatives for cheerio? Thanks!

Answer

Mark Gibaud picture Mark Gibaud · Dec 2, 2015

I suggest you check out the x-ray node package. It is essentially an abstraction layer above cheerio that makes the code you need to 'structure any website' even more terse.

It has a composable syntax in style and it supports pagination, limiting/throttling, delaying, scraping collections etc.