Website Checker Runner Playwright avatar
Website Checker Runner Playwright
Try for free

No credit card required

View all Actors
Website Checker Runner Playwright

Website Checker Runner Playwright

lukaskrivka/website-checker-playwright
Try for free

No credit card required

Checks the provided website using Playwright. 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 mode

Node.js

Python

curl

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-playwright/runs?token=$API_TOKEN" \
27  -X POST \
28  -d @input.json \
29  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • NaN% runs succeeded
  • 0.0 days response time
  • Created in Nov 2021
  • Modified about 1 year ago
Categories