a monitor script for check site https://www.bwgyhw.com/ and notificate you bwg have new activity by email.
listed activies saved as a json file activities.json
.
maill settings in settings.py
, and you can write them in local_settings.py
.
it's running under python 3
wget https://www.python.org/ftp/python/3.7.1/Python-3.7.1.tar.xz
xz -d Python-3.7.1.tar.xz
tar -xvf Python-3.7.1.tar
cd Python-3.7.1
./configure --prefix=/usr/local --with-ssl
make
make altinstall
cd <project folder>
/usr/local/bin/pyvenv-3.7 venv
source venv/bin/activate
pip install -r requirements.txt
add auto task with crontab -e
02 11 * * * <project folder>/venv/bin/python <project folder>/main.py