Update readme

This commit is contained in:
2024-02-02 20:50:18 +01:00
parent 75aaf80d94
commit d4302240e7
2 changed files with 8 additions and 2 deletions

View File

@@ -2,7 +2,10 @@
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:
## 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
@@ -24,5 +27,5 @@ 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
docker run -it --rm -f $(pwd)/urls.txt:/app/urls.txt --env-file ./.env lidl-price-scraper
```

3
urls.txt.example Normal file
View File

@@ -0,0 +1,3 @@
https://www.lidl.cz/p/p100370600
https://www.lidl.cz/p/p100358513
https://www.lidl.cz/p/p100336045