Just a practice app that scrapes discounts from Tesco website and sends them as email.
If the Tesco site HTML structure changes, this app will no longer function.
Make sure pip is up to date:
python -m pip install --upgrade pip
Install required packages:
python -m pip install -r requirements.txt
Have Google account (gmail). Go to app passwords, and create new app password for this app.
Then set the following values as environmental variables:
SOURCE_EMAIL
: Gmail address that you configured app passoword for.SOURCE_EMAIL_APP_PASSWORD
: The app password.TARGET_EMAIL
: Who you want to send to.