xenotifier.py is a script that polls xe.gr for new house ads and notifies via email
-
Fill in the required configuration parameters in the script
-
create a virtualenv (i.e. named xenotifier)
-
create a cronjob i.e.
00,30 * * * * cd /home/user/xe && env GMAIL_USERNAME='john_doe' GMAIL_PWD='hunter2' XE_RECIPIENTS='[email protected], [email protected] ' XE_URL='https://xe.gr/awesome_rental/houses/?area=89&foo=bar' /home/user/.virtualenvs/xenotifier/bin/python xenotifier.py > /dev/null 2>&1
In case you just need a txt output instead of an email, you can just set th XE_URL
env var.