Website Checker Runner Cheerio
Try for free
No credit card required
View all Actors![Website Checker Runner Cheerio](https://apify.com/img/store/actor_picture.svg)
Website Checker Runner Cheerio
lukaskrivka/website-checker-cheerio
Try for free
No credit card required
Checks the provided website using cheerio. This is a low level runner, most likely you want to use the high level master actor - https://apify.com/lukaskrivka/website-checker
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7 "urlsToCheck": [
8 {
9 "url": "https://www.amazon.com/b?ie=UTF8&node=11392907011"
10 }
11 ],
12 "proxyConfiguration": {
13 "useApifyProxy": false
14 },
15 "linkSelector": "a[href]",
16 "pseudoUrls": [
17 {
18 "purl": "https://www.amazon.com[.*]/dp/[.*]"
19 }
20 ]
21}
22EOF
23
24# Run the Actor using an HTTP API
25# See the full API reference at https://docs.apify.com/api/v2
26curl "https://api.apify.com/v2/acts/lukaskrivka~website-checker-cheerio/runs?token=$API_TOKEN" \
27 -X POST \
28 -d @input.json \
29 -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
- 7 monthly users
- 15 stars
- 99.8% runs succeeded
- Created in Nov 2021
- Modified over 1 year ago
Categories