Send pushbullet notifications if No-IP hosts need renewal
$ mkdir drivers
$ cd drivers
$ wget http://security.debian.org/debian-security/pool/updates/main/c/chromium/chromium-driver_79.0.3945.130-1~deb10u1_armhf.deb
$ mkdir extract
$ dpkg-deb -R chromium-driver_79.0.3945.130-1~deb10u1_armhf.deb extract
$ mv extract/usr/local/bin/chromedriver chromium-driver_79.0.3945.130-1
$ chmod u x chromium-driver_79.0.3945.130-1
$ mv chromium-driver_79.0.3945.130-1 ../chromium-driver
$ sudo apt-get install libminizip1 libwebpmux3 libgtk-3-0 libxss1 libre2-5 chromium-browser
$ wget http://security-cdn.debian.org/debian-security/pool/updates/main/c/chromium/chromium_79.0.3945.130-1~deb10u1_armhf.deb
$ sudo dpkg -i chromium_79.0.3945.130-1~deb10u1_armhf.deb
$ sudo apt-get install -f
$ virtualenv -p python3 ./env
$ source env/bin/activate
$ pip install --upgrade pip
$ pip install --upgrade setuptools
$ pip3 install -U -r requirements.txt
$ python3 noip.py
Change the first line of noip.py
to the path of the virtualenv:
#!/home/user/projects/noip-renewer/env/bin/python
Add to the crontab this:
30 02 */2 * * /usr/bin/env bash -c 'cd /home/user/projects/noip-renewer && ./noip.py' > /dev/null 2>&1
- Python 3
- Selenium
- Chromium Driver