Customizable Web Scrapper to get alerts when criteria is met on web sites.
6.5K
SCRAPER=text # Scraper to use
URL=<URL> # URL to scrape
TEXT=<TEXT> # Text to look for
SCRAPER=diff # Scraper to use
URL=<URL> # URL to scrape
PERCENTAGE=<PERCENTAGE_DIFF> # Percentage difference to look for
SCRAPER=cars_com # Scraper to use
URL=https://www.cars.com/shopping/results/ # URL to scrape, must be on the results page, for a specific search
SLEEP_TIME_SEC= # Time to sleep between each scrape
SENDER_EMAIL= # Email to send from
FROM_EMAIL= # Name to send from i.e. '"Web Scraper" <[email protected]>'
RECEIVER_EMAIL= # Email to send to
PASSWORD= # Password for the sender's email
SMTP_SERVER= # SMTP server to use
SMTP_PORT= # SMTP port to use
TLS= # True/False to use TLS
To run 2+ scrapers of the same type, i.e. 2 diff scrapers, make sure the host folder mapping is different
Ex:
diff-scraper-1:
image: jnstockley/web-scraper:latest
volumes:
- ./diff-scraper-1-data/:/app/data/
environment:
- TZ=America/Chicago
- SCRAPER=diff
- URL=https://google.com
- PERCENTAGE=5
- SLEEP_TIME_SEC=21600
diff-scraper-2:
image: jnstockley/web-scraper:latest
volumes:
- ./diff-scraper-2-data/:/app/data/
environment:
- TZ=America/Chicago
- SCRAPER=diff
- URL=https://yahoo.com
- PERCENTAGE=5
- SLEEP_TIME_SEC=21600
Content type
Image
Digest
sha256:d21fe01a5…
Size
89.2 MB
Last updated
7 days ago
docker pull jnstockley/web-scraper