Git Product home page Git Product logo

actor-content-checker's Introduction

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 [email protected] yes
sendNotificationText String Notification Text Follow instructions in company wiki for updating the database no

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:

actor-content-checker's People

Contributors

jakubbalada avatar jrupp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.