2024-02-03 09:40:52 +01:00
2024-02-02 20:38:21 +01:00
2024-02-01 11:11:50 +01:00
2024-02-02 20:40:07 +01:00
2024-02-01 11:03:11 +01:00
2024-02-03 09:40:52 +01:00
2024-02-02 20:52:37 +01:00
2024-01-30 18:08:40 +01:00
2024-02-02 20:50:18 +01:00
2024-01-30 20:36:54 +01:00

Lidl price scraper

Simple app which checks a price of selected items and prints their current price and discount.

How to build and run

  1. create file with urls to be watched cp urls.txt.example urls.txt
  2. Configure SMTP and mail destination (for mail notification)
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 -v $(pwd)/urls.txt:/app/urls.txt  --env-file ./.env lidl-price-scraper
Description
No description provided
Readme 52 KiB
Languages
Python 96.7%
Dockerfile 3.3%