Skip to content

dominiks/sitecheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SiteCheck 1.3

Born from the necessity of monitoring static html university sites for
changes.

Saves a local copy of each file specified in the sites.txt (one url per line).
And performs a `diff -uw` on this and the previous version to see if there
are any changes. When changes are found the diffs for all sites get mailed
to each address in mails.txt.

Current use case for this script is running it in a cron job to check static
html pages for changes and sending the diffs to a mailing list.

Emails are send over a configured SMTP server.

Configuration:
- Set the email that is to be used as the originator in sendmail.py 

- Add sites you want to check to a file sites.txt in this directory in this form:
   name = url
 e.g.
   mathe2 = http://www.exp-mathe.uni-essen.de/mg2

- Add emails to be notified in mails.txt in this directory.

Start SiteCheck.py every time you want the sites checked or as you see fit.

Uses BeautifulSoup from http://www.crummy.com/software/BeautifulSoup/

About

Finds changes on websites and sends notifiers per email.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages