Skip to content

A Lidl scrapper which sends an notification via email if a product is available again in the Lidl onlineshop

License

Notifications You must be signed in to change notification settings

developsessions/lidl_scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lidl Scrapper

Build Docker Pulls Docker Stars Docker Image Size

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.

Docker

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:

Environment 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 [email protected] The mail login, normally the sender mail address
SCRAPPER_SMTP_PASSWORD password The password for the sender mail account
SCRAPPER_SMTP_MAIL [email protected] The sender mail address
SCRAPPER_MAIL_TO [email protected] The receiver mail address if a product is available
SCRAPPER_CRON 0 * * * * The cron pattern, a good ressource is https://crontab.guru

Compose

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
      - [email protected]
      - SCRAPPER_SMTP_PASSWORD=password
      - [email protected]
      - [email protected]
      - SCRAPPER_CRON=0 * * * *

Buy Me A Coffee

About

A Lidl scrapper which sends an notification via email if a product is available again in the Lidl onlineshop

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published