The Lidl Scrapper checks in a configurable interval if the product with the given URL is available, if it is available, it sends an email to a configurable mail address.
There are also Lidl Scrapper Docker images available. We can easily configurate all options via docker environment variables. Currently only GMail as Mailer is supported.
Here is a list of all variables:
Variable | Example value | Description |
---|---|---|
SCRAPPER_URL | https://www.lidl.de/p/p100332026 | The URL of the Lidl product to check |
SCRAPPER_PRODUCT_NAME | Backautomat | Optionally a name for the product which is used on console and in the mail |
SCRAPPER_SMTP_USER | sender@gmail.com | The mail login, normally the sender mail address |
SCRAPPER_SMTP_PASSWORD | password | The password for the sender mail account |
SCRAPPER_SMTP_MAIL | sender@gmail.com | The sender mail address |
SCRAPPER_MAIL_TO | receiver@gmail.com | The receiver mail address if a product is available |
SCRAPPER_CRON | 0 * * * * | The cron pattern, a good ressource is https://crontab.guru |
version: '3.9'
services:
lidl_scrapper:
container_name: lidl_scrapper
image: "developsessions/lidl_scrapper"
restart: unless-stopped
labels:
- "com.centurylinklabs.watchtower.enable=true"
environment:
- TZ=Europe/Berlin
- SCRAPPER_URL=https://www.lidl.de/p/p100332026
- SCRAPPER_PRODUCT_NAME=Backautomat
- SCRAPPER_SMTP_USER=sender@gmail.com
- SCRAPPER_SMTP_PASSWORD=password
- SCRAPPER_SMTP_MAIL=sender@gmail.com
- SCRAPPER_MAIL_TO=receiver@gmail.com
- SCRAPPER_CRON=0 * * * *