Developer releases scrape-sentinel, a lightweight Python change-detection library
A developer has published scrape-sentinel, a small Python library built using only the standard library that detects what has changed between successive web scraper runs. Rather than comparing data by position, the tool matches records using a stable key field, ensuring reordered results do not trigger false change alerts. It tracks added, removed, and modified records, and highlights exactly which fields changed and their old versus new values. Noisy fields like timestamps can be excluded from comparisons, and snapshots are written atomically to prevent file corruption from interrupted runs. The tool supports console and webhook alerts, a JSON change log, and a CLI with a flag that triggers an exit code when changes are detected, making it suitable for cron jobs or CI pipelines.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in