Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 652 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 652 Bytes

Introduction

xenotifier.py is a script that polls xe.gr for new house ads and notifies via email

Instructions

  • 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='john@example.com, doe@example.com ' XE_URL='https://xe.gr/awesome_rental/houses/?area=89&foo=bar' /home/user/.virtualenvs/xenotifier/bin/python xenotifier.py > /dev/null 2>&1
    

TXT output

In case you just need a txt output instead of an email, you can just set th XE_URL env var.