SkillAgentSearch skills...

Pingdiff

Detect DOM changes across a supplied list of websites and send alerts via IFTTT.

Install / Use

/learn @sblaurock/Pingdiff
About this skill

Quality Score

0/100

Category

Operations

Supported Platforms

Universal

README

pingdiff

Detect changes across a supplied list of websites.

Setup

npm install

Usage

node index.js --interval=60 --endpoints="/path/to/endpoints.json" --ifttt="/path/to/ifttt.json" --random

Endpoint file structure

{
    URL: CSS selector,
    "http://web.site": "body"
}

Flags

| Flag | Required | Type | Description | | --- | --- | --- | --- | | interval | ✓ | Integer | Interval (in seconds) of how often to make requests. | | endpoints | ✓ | String | Path to JSON file of endpoints to monitor. | | ifttt | ✗ | String | Path to IFTTT JSON file configuration (see below). | | random | ✗ | Integer | Percentage of randomness to apply to interval timing (default of 20%). |

IFTTT parameters

| Flag | Required | Type | Description | | --- | --- | --- | --- | | key | ✓ | String | Maker channel secret key. | | eventName | ✓ | String | Maker event name. | | bodyKey | ✓ | String | Form data JSON body key (value1, value2, value3). | | timeout | ✗ | Integer | Minimum amount of time to wait (in seconds) between posted events. |

View on GitHub
GitHub Stars4
CategoryOperations
Updated5y ago
Forks2

Languages

JavaScript

Security Score

60/100

Audited on Sep 22, 2020

No findings