Notifications for https://www.paybyphone.fr/
Project description
Simple bot that sends you an email when you didn’t pay your parking on https://www.paybyphone.fr/
Installation on a Raspberry PI
Install Chromium
Firefox doesn’t support headless mode on Debian yet.
sudo apt-get install chromium-browser
Install Chromedriver
Go to the page of the latest armhf build on https://launchpad.net/ubuntu/trusty/+package/chromium-chromedriver
Use this link in
wget http://launchpadlibrarian.net/361669488/chromium-chromedriver_65.0.3325.181-0ubuntu0.14.04.1_armhf.deb
Install gdebi
sudo apt-get install gdebi
Install chromedriver
sudo gdebi chromium-chromedriver\*.deb
Put chromedriver in your path
sudo mv /usr/lib/chromium-browser/chromedriver /usr/bin/chromedriver
Sources:
Install pip
sudo apt-get install python3-pip
Install paybybot
pip3 install paybybot # next line is there to find the paybybot command echo 'export PATH=~/.local/bin:$PATH' >> .bashrc
Configure your credentials
# ~/.paybybot {Your phone number}:{PayByPhone password} # ~/.email-creds {Your email address}:{Email password}
For your email account, I advise you to use an app password. See here for Gmail.
Add a cron task
crontab -e
and write
50 8 * * * paybybot
to run paybybot everyday at 8:50
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
paybybot-0.0.3.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file paybybot-0.0.3.tar.gz
.
File metadata
- Download URL: paybybot-0.0.3.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95fe031ddb8a09ad361794b67b6621cb8df5ff3f9fe954cb39a24420d7a702b5 |
|
MD5 | e0de7428388ca015fda8f988f3367333 |
|
BLAKE2b-256 | 89d7e2967168580f1c58edbbc070e0ec0ea8acecfb43618dbd383d4685779ce8 |
File details
Details for the file paybybot-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: paybybot-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8888bbc6a2b1289e3e395fff01820818fb6694eebeeb5c24736458dd629a3f98 |
|
MD5 | f2761a04b92d9bd8acd46ea8d01b1f12 |
|
BLAKE2b-256 | c036eaa2fc1d412455b698b1cc2274f775aa1b4b192e0de9bb6ca87de025d5a5 |