Skip to content

henhuy/flat_search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a908eb4 · Jan 22, 2023

History

1 Commit
Jan 22, 2023
Jan 22, 2023
Jan 22, 2023
Jan 22, 2023
Jan 22, 2023
Jan 22, 2023

Repository files navigation

Wohnungssuche

Scans WBM and GEWOBAG homepages for flats. Criteria for flats must be adopted in wbm.py or gewobag.py (should be transferred to config file instead -> future me). In order to send link to flat to telegram you must add your TOKEN (from telegram Bot) and a CHAT_ID (a chat where Bot is present) to environment variables. Already found flats are saved in found_flats folder as plain CSV files.

CRON

Instructions to run script every 10min via crontab:

sudo crontab -e

In cronfile:

*/10 * * * * <path to wbm.sh>

In wbm.sh:

cd <path to package>
<path to python (i.e. /home/<user>/miniconda/envs/<envname>/bin/python)> wbm.py
<path to python (i.e. /home/<user>/miniconda/envs/<envname>/bin/python)> gewobag.py

About

Wohnungssuche

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages