BeautifulSoup like scraper for nodejs

15,158

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.

Share:
15,158

Related videos on Youtube

Jesus_Maria
Author by

Jesus_Maria

Updated on June 15, 2022

Comments

  • Jesus_Maria
    Jesus_Maria almost 2 years

    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!

  • Jesus_Maria
    Jesus_Maria over 8 years
    I have tried it, but it is not so good as cheerio
  • Mark Gibaud
    Mark Gibaud over 8 years
    Probably useful for you to know that x-ray is built by the same author as cheerio, and he built x-ray after cheerio. Thus has a higher level of abstraction ;-)
  • Gajus
    Gajus over 4 years
    X-ray combines HTTP request making and data extraction. In that sense, it is more similar to Scrappy than no BeautifulSoup. A closer library is github.com/gajus/surgeon.