Webtrack

Webtrack

Webtrack tracks the differences on html pages and emails you the diff.

It’s written in python (I used version 2.1 on GNU/Linux Debian)

Download theĀ source

Usage

webtrack config_file

where config_file.py is the configuration file

Configuration file

It must be in python syntax, here is example:

toAddress="admin@floc.org"
fromAddress="webtrack@floc.org"
cacheDir="/home/admin/var/webtrack"
tmpDir="/tmp"

urls=["http://www.wikepedia.org"]
	

The documents are stored in cacheDir, tmpDir is a temporary directory where diff is executed.

Scheduling

You can execute it daily with such a crontab entry:

5 0 * * * /user/usr/bin/webtrack $HOME/webtrack > /dev/null

Leave a Comment