An open API service indexing awesome lists of open source software.

https://github.com/jsmith/watcher

Periodically checks websites for changes!
https://github.com/jsmith/watcher

Last synced: 18 days ago
JSON representation

Periodically checks websites for changes!

Awesome Lists containing this project

README

          

# Watcher
Periodically check websites for changes & send notification emails!

## Why?
Most sites (except some blogs) don't offer any way for you to receive a notification when their website has been updated. There were a few sites that I needed to stay updated with so I made this simple script. To determine if a site has changed, this script counts a number of keywords and compare the count to the previous count.

## Usage
Create a file in your home directory named `.watcher.yaml` (ex. `~/.watcher.yaml`). Alternatively, place it wherever you want and pass the path in as the first argument to the `watcher.py` script. The file contents should look something like this:
```yaml
email: @gmail.com # the email to send the email from
password:
destination: @gmail.com # the email to send the email to

# Now the create whatever you want. These are just some examples. Make sure to follow the same format
sites:
samaltman:
url: http://blog.samaltman.com
keys: [posted]

facebook:
url: https://www.facebook.com/careers/university/internships/engineering
keys: [fall, engineering, software]
```

Make sure to have [pipenv](https://github.com/pypa/pipenv/) installed and that you've allowed [less secure apps to access your email](https://www.google.com/settings/security/lesssecureapps). After you've done that, run these commands:
```
sudo apt-get install chromium-chromedriver
pipenv install
pipenv run python watcher.py
```