Files
alert-website-change/.env.example
2026-02-02 21:59:45 +01:00

26 lines
606 B
Plaintext

# Website to monitor
URL=https://example.com
# Optional: XPath or CSS selector to monitor specific content
# Leave empty to monitor entire page
SELECTOR=
# Options: xpath or css
SELECTOR_TYPE=xpath
# Cache file location (stores the hash of previous content)
CACHE_FILE=.cache/hash.txt
# Optional: Log file path (leave empty to only log to console)
LOG_FILE=.logs/alert.log
# SMTP Email Configuration
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-app-password
SMTP_USE_TLS=true
# Email addresses
FROM_EMAIL=your-email@gmail.com
TO_EMAIL=recipient@example.com