/check-website-update

Monitor and check if there is any update on websites

Primary LanguagePython

Check updates on websites

Preparation

  1. pip install -r requirements.txt
  2. urls.txt that specifies the urls you want to check. Each url starts a new line. You can use a sharp character to comment out specific urls.
https://google.com title-goole
# http://baidu.com  # comment out this url
  1. mail_info.txt that specifies the information of sender and recipients for email notification.
sender@example.com
sender_password
recipient1@example.com
recipient2@example.com
...

Note that you might also need to change the corresponding SMTP server configuration for email notification, e.g., line 14.

Run

python3 check-web.py -t 0.9 --mail

You can add above command to crontab to periodically check updates.