web_watch
Watch a page or CSS selector region and report when it changes; add recurring checks, list changes, check now, or remove watches.
Instructions
Watch a page, or one css_selector region of it, and report when it changes. add starts a watch (interval_secs, default 3600), list shows what changed and when, check looks now, remove stops. A check that finds nothing costs one conditional request. Watches survive restarts but run only while the server is up. For a single comparison with no watch use web_diff.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The page. Required for add, remove and a single check. | |
| label | No | A name to recognise it by in the list. | |
| action | No | add (default), list, remove or check. | |
| css_selector | No | Watch only the part of the page this CSS selector finds. Changes elsewhere are ignored, and if a redesign breaks the selector the region is relocated by fingerprint. | |
| interval_secs | No | How often it is worth looking, in seconds. Default 3600, floor 60. |