Cheerio Scraper avatar
Cheerio Scraper

Pricing

Pay per usage

Go to Store
Cheerio Scraper

Cheerio Scraper

apify/cheerio-scraper

Developed by

Apify

Maintained by Apify

Crawls websites using raw HTTP requests, parses the HTML with the Cheerio library, and extracts data from the pages using a Node.js code. Supports both recursive crawling and lists of URLs. This actor is a high-performance alternative to apify/web-scraper for websites that do not require JavaScript.

4.7 (11)

Pricing

Pay per usage

131

Monthly users

612

Runs succeeded

>99%

Last modified

5 months ago

proloser avatar

Tried migrating from Web Crawler but `cheerio().map()` doesn't seem to work the same

Closed
Dean Sofer (proloser) opened this issue
8 months ago

I got most of the original logic working, but the 2 fields I generate by mapping over elements and returning a property of that element doesn't seem to be working. I can't tell if the mapping is broken or if the element doesn't actually contain a property in this worker.

The fields that are showing up empty are details and categories, whereas details was a large block of HTML, categories was actually a couple of strings and should be trivial

proloser avatar

Figured it out. Man the cheerio documentation is kind of a headache. Thanks for pointing this idea out to me, it works great!

Pricing

Pricing model

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage.