Only works with piwik auto-update and Python 2.
This script makes a automatic login and clicks on the "update" link in Piwik.
- Login in Piwik.
- Click on Update link.
- Click on Update button.
License: GNU General Public License
Author: Christoph Daniel Miksche (m5e.de)
- Use the following command to install all dependencies.
pip install pipenv
pipenv install BeautifulSoup4 lxml mechanize fake_useragent
Alternatively if your using Debian:
apt install python-beautifulsoup python-mechanize python-lxml python-fake_useragent
-
Then clone the git repository.
-
After that, please change the variables in the settings.py file.
-
Enter the following command in your commandline.
pipenv shell python updater.py
-
If you want to schedule your updates, edit your /etc/crontab file.