Cheerio Scraper
Pricing
Pay per usage
Go to Store
Cheerio Scraper
0.0 (0)
Pricing
Pay per usage
2
Monthly users
1
Runs succeeded
>99%
Last modified
6 years ago
You can access the Cheerio Scraper programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1echo '{
2 "startUrls": [
3 {
4 "url": "https://apify.com"
5 }
6 ],
7 "pseudoUrls": [
8 {
9 "purl": "https://apify.com[(/[\\\\w-]+)?]"
10 }
11 ],
12 "linkSelector": "a",
13 "pageFunction": "async function pageFunction(context) {\\n const { $, request, log } = context;\\n const title = $('\''title'\'').text();\\n log.info(`URL: ${request.url} TITLE: ${title}`);\\n return {\\n url: request.url,\\n title\\n };\\n}",
14 "proxyConfiguration": {
15 "useApifyProxy": false
16 },
17 "initialCookies": []
18}' |
19apify call apify/cheerio-scraper --silent --output-dataset
Cheerio Scraper API through CLI
The Apify CLI is the official tool that allows you to use Cheerio Scraper locally, providing convenience functions and automatic retries on errors.
Install the Apify CLI
1npm i -g apify-cli
2apify login
Other API clients include:
Pricing
Pricing model
Pay per usageThis Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage.