- How to run
- Example data
- Source code
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.
Here is a blog post about this actor with a step-by-step tutorial how to set it up.
Actor needs an URL, content selector and email address. Screenshot selector can also be defined, otherwise content selector is used for screenshot.
|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|
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: