Content Checker

jakubbalada/content-checker

You can use this actor to monitor any page's content and get a notification when content changes. Technically it extracts text by a given selector and compares it with the previous run. If there is any change, it runs another act to send an email notification. It also saves a screenshot.

Modified
Last run
Used 11261 times

Actor - content checker

This actor monitors a page's content and sends a notification when content changes.

Technically it extracts text by given selector and compares it with the previous run. If there is any change, it runs another actor to send an email notification. It also saves and sends screenshots.

INPUT

Actor needs an URL, content selector and email address. Screenshot selector can also be defined, otherwise content selector is used for screenshot.

Field Type Description Example Mandatory
url String URL to check https://www.kickstarter.com/projects/solgaarddesign/carry-on-closet-solgaard-suitcase-shelf-and-usb yes
contentSelector String Monitored area selector .mb2-lg .flex yes
screenshotSelector String Screenshot selector .col-full.block-lg .flex no
sendNotificationTo String Email address info@apify.com yes

For more information about waitUntil parameter please take a look at documentation of Puppeteers page.goto function.

OUTPUT

Once the actor finishes, it will update a content and screenshot in a named Key-Value store associated with the actor / task.

If the content changed, another actor is called to send an email notification.

Here's an example of an email notification with previous data, current data and 2 screenshots: