pip install -r requirements.txt
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
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.
python3 check-web.py -t 0.9 --mail
You can add above command to crontab
to periodically check updates.