Website Changes Detector
Pricing
Pay per usage
Website Changes Detector
This actor uses Apify’s Website Content Crawler to track website changes by comparing new and previous crawl results, highlighting only relevant updates to save time and resources.
0.0 (0)
Pricing
Pay per usage
0
Total users
3
Monthly users
3
Runs succeeded
83%
Last modified
5 days ago
You can access the Website Changes Detector 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.
1import { ApifyClient } from 'apify-client';2
3// Initialize the ApifyClient with your Apify API token4// Replace the '<YOUR_API_TOKEN>' with your token5const client = new ApifyClient({6 token: '<YOUR_API_TOKEN>',7});8
9// Prepare Actor input10const input = {11 "wccInput": {12 "aggressivePrune": false,13 "clickElementsCssSelector": "[aria-expanded=\"false\"]",14 "clientSideMinChangePercentage": 15,15 "crawlerType": "playwright:adaptive",16 "debugLog": false,17 "debugMode": false,18 "expandIframes": true,19 "ignoreCanonicalUrl": false,20 "keepUrlFragments": false,21 "proxyConfiguration": {22 "useApifyProxy": true23 },24 "readableTextCharThreshold": 100,25 "removeCookieWarnings": true,26 "removeElementsCssSelector": "nav, footer, script, style, noscript, svg,\n[role=\"alert\"],\n[role=\"banner\"],\n[role=\"dialog\"],\n[role=\"alertdialog\"],\n[role=\"region\"][aria-label*=\"skip\" i],\n[aria-modal=\"true\"]",27 "renderingTypeDetectionPercentage": 10,28 "saveFiles": false,29 "saveHtml": false,30 "saveHtmlAsFile": false,31 "saveMarkdown": true,32 "saveScreenshots": false,33 "startUrls": [34 {35 "url": "https://docs.apify.com/academy/web-scraping-for-beginners",36 "method": "GET"37 }38 ],39 "useSitemaps": false40 }41};42
43// Run the Actor and wait for it to finish44const run = await client.actor("tri_angle/website-changes-detector").call(input);45
46// Fetch and print Actor results from the run's dataset (if any)47console.log('Results from dataset');48console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);49const { items } = await client.dataset(run.defaultDatasetId).listItems();50items.forEach((item) => {51 console.dir(item);52});53
54// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Website Changes Detector API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use Website Changes Detector API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
$npm install apify-client
Other API clients include: