Honestly, cheerio npm is showing its age. Modern sites are a mess of JS, and cheerio npm just can’t keep up.
If you need something lightweight but more flexible, try JSDOM. It’s not as fast as cheerio npm, but it handles *some* JS.
For full-blown dynamic scraping, though, Puppeteer is the way. No way around it.
If you need something lightweight but more flexible, try JSDOM. It’s not as fast as cheerio npm, but it handles *some* JS.
For full-blown dynamic scraping, though, Puppeteer is the way. No way around it.
