- Rename
config.sample.yml
toconfig.yml
- Add your gmail email and password to the config file
- Add a single or a comma-separated list of recipients to the config file
- (Optionally) edit the subject. Make sure to add a
%s
-sign somewhere, where the time will be displayed. - Edit the cookies in the config.
- Make sure that "less secure" applications can log in with your credentials by visiting https://www.google.com/settings/security/lesssecureapps and selecting Turn on.
- Create a list of urls separated by a newline.
- (Possibly) install the missing PyYAML dependency by running
pip install pyyaml
- Pass it into webwatcher by running
python webwatcher.py /path/to/file.txt