A monitoring programme for application status changing on Universityadmissions.se
❯ python ua_crawler.py --help
usage: ua_crawler.py [-h] [--mail] [--interval SECONDS]
University Admissions Crawler
options:
-h, --help show this help message and exit
--mail Notify via email if status changes
--interval SECONDS Interval between checks, defaults to 300 seconds
- Edit
username
andpassword
fields inconfig.json
- Run with
pip install -r requirements.txt python ua_crawler.py
-
Edit all fields in
config.json
-
Run with
pip install -r requirements.txt python ua_crawler.py --mail
-
Edit all fileds under
environment
indocker-compose.yml
version: "3.3" services: app: container_name: ua_crawler build: . restart: unless-stopped environment: # <-- HERE UA_USERNAME: "[email protected]" UA_PASSWORD: "abcd" SMTP_HOST: "smtp.resend.com" SMTP_PORT: "465" SMTP_USERNAME: "resend" SMTP_TOKEN: "1234" SMTP_FROM: "[email protected]" SMTP_TO: "[email protected]"
-
Run with
docker compose up -d