Website Checker
Try for free
No credit card required
View all Actors
Website Checker
lukaskrivka/website-checker
Try for free
No credit card required
Check any website you plan to scrape for expected Compute unit consumption, anti-scraping software, and reliability.
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
Node.js
Python
curl
1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5 token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10 "urlsToCheck": [
11 {
12 "url": "https://www.amazon.com/b?ie=UTF8&node=11392907011"
13 }
14 ],
15 "proxyConfiguration": {
16 "useApifyProxy": true,
17 "apifyProxyGroups": [
18 "SHADER",
19 "BUYPROXIES94952",
20 "RESIDENTIAL"
21 ]
22 },
23 "repeatChecksOnProvidedUrls": 10,
24 "maxNumberOfPagesCheckedPerDomain": 1000
25};
26
27(async () => {
28 // Run the Actor and wait for it to finish
29 const run = await client.actor("lukaskrivka/website-checker").call(input);
30
31 // Fetch and print Actor results from the run's dataset (if any)
32 console.log('Results from dataset');
33 console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
34 const { items } = await client.dataset(run.defaultDatasetId).listItems();
35 items.forEach((item) => {
36 console.dir(item);
37 });
38})();
39
40// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Apify
Actor metrics
- 13 monthly users
- 100.0% runs succeeded
- 0.0 days response time
- Created in Jan 2020
- Modified 3 months ago
Categories