A tiny program to scrape property rental sites to get notified of new properties in the first place.
I use Gotify for notifications
- Clone the repo
- Install the requirements found in requirements.txt
- Copy .env.dist into .env and fill the fields
- Start main.py
Or you can use Docker, too. In this case the fourth step will be docker-compose up
For the first run you might define FIRST_RUN=True in the .env. Using this the script will not load all advertisements, only the search pages, and it saves the id-s, so you will not get notified for the existing ads. After a successful scrape, you restart the script with FIRST_RUN=False.
Please do not abuse property sites with this script! (For example: scraping within just seconds.)