Skip to content

Checks when a website changes and notifies you via Slack or OpsGenie

Notifications You must be signed in to change notification settings

ulich/website-change-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

website-change-detector

Checks when a website changes and notifies you via OpsGenie or Slack

Running locally

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9223 --no-first-run --no-default-browser-check --user-data-dir=$(mktemp -d -t 'chrome-remote_data_dir')

export URL="https://the-website-to-check.com"

export NOTIFY_VIA="opsgenie" # or "slack"

// if you want to get notified via opsgenie
export OPSGENIE_API_KEY="xxxxx"

// if you want to get notified via slack
export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/xxxxx"

export CSS_SELECTOR=".some-css-selector"
export UNWANTED_TEXT="If the element targeted via CSS_SELECTOR does not have this text, trigger the notification"
node index.js

About

Checks when a website changes and notifies you via Slack or OpsGenie

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published