Skip to content

Practice project with Python to scrape discounts data and send as email

Notifications You must be signed in to change notification settings

Gtomika/discount-scraper-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discount scraper

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.

Install packages

Make sure pip is up to date:

python -m pip install --upgrade pip

Install required packages:

python -m pip install -r requirements.txt

Setup Gmail to be able to send your mails

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.

About

Practice project with Python to scrape discounts data and send as email

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages