Support product search by name

This commit is contained in:
2024-02-08 13:14:43 +01:00
parent c7fcec7c56
commit 16144fc428
4 changed files with 52 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ Simple app which checks a price of selected items and prints their current price
## How to build and run
1. create file with urls to be watched `cp urls.txt.example urls.txt`
1. create file with urls and file with products to be watched `cp urls.txt.example urls.txt ; cp products.txt.example products.txt`
2. Configure SMTP and mail destination (for mail notification)
```
@@ -27,5 +27,5 @@ 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
docker run -it --rm -v $(pwd)/urls.txt:/app/urls.txt -v $(pwd)/products.txt:/app/products.txt --env-file ./.env lidl-price-scraper
```