Skip to content

An utility to monitor changes in websites and send emails when found.

Notifications You must be signed in to change notification settings

zcbenz/website-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

website-check

An utility to monitor changes in websites and send emails when found.

Usage:

$ npm i -g website-check
$ website-check /path/to/config.json

Format of config.json:

{
  "gmail": {
    "user": "user@gmail.com",
    "pass": "abcdefghijklmnop",
    "to": "user@gmail.com"
  },
  "websites": [
    {
      "name": "NintendoRingFit",
      "url": "https://store.nintendo.co.jp/category/STORELIMITEDGOODS/HAC_Q_AL3PA.html",
      "selector": ".item-cart-and-wish-button-area",
      "ignoreText": "大変混雑している",
      "interval": 300000
    }
  ]
}
  • gmail
    • user: User account.
    • pass: Application-specific password.
    • to: Optional, Array or String.
  • website Array of websites to monitor.
    • url: The URL to monitor.
    • interval: Check interval in ms.
    • selector: Optional, CSS selector used for filtering content.
    • ignoreText: Optional, Array or String, do nothing if the page contains the text.

Source code is published under public domain.

About

An utility to monitor changes in websites and send emails when found.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published