kbhff/api/mail_credentials.py
as described belowkbhff
) via pip install .
pip install -r requirements.txt
geckodriver
and chromedriver
to user Firefox and Chrome with selenium
geckodriver
(e.g. version 0.24.0) and chromedriver
(e.g. version 73.0)
wget https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz
wget https://chromedriver.storage.googleapis.com/73.0.3683.68/chromedriver_linux64.zip
geckodriver
and chromedriver
export PATH=$PATH:$PWD/geckodriver
export PATH=$PATH:$PWD/chromedriver
There are two ways to use this package with a gmail account.
MAIL_CREDENTIALS_EMAIL
containing your gmail address as string and MAIL_CREDENTIALS_PASSWORD
containing the password to your account as stringmail_credentials.py
file to kbhff/api/
as in the first installation step above. This file should define a dict
called mail_credentials
with keys "login"
and "password"
mapping your gmail address and its password as strings. Make sure to (re)install after adding this file.