It is sometimes necessary to be alerted when a change is made to a web-page.
Currently, I have some simple scripts on OpenBSD that download the web-page with lynx -width 120 -dump
, get relevant parts of it with grep
-v
and -B3 -A3
etc, save it to a special folder under a date
-based filename, keep track of the latest two versions with ln -fs
, and finally perform the diff
, all run from cron
.
The scripts work, however, they look a bit ugly, fragile and may not necessarily handle some edge cases. Is there perhaps some existing software that can do this task better and more streamlined?