682 B
682 B
Lidl price scraper
Simple app which checks a price of selected items and prints their current price and discount.
It also sends a notification of items via email any items is on sale and following env variables are defined:
SCRAPER_SMTP_USER
SCRAPER_SMTP_PASSWORD
SCRAPER_TO_MAIL
You can define them in shell or make use of .env.example file and copy it to .env (the docker example uses that approach)
It uses Google SMTP server (you have to provide google app credentials).
Run with:
python main.py
or build docker image and run it using the docker:
docker build -t lidl-price-scraper .
docker run -it --rm --env-file ./.env lidl-price-scraper