- selenium
conda install selenium
orpip install selenium
- python-telegram-bot
conda install -c conda-forge python-telegram-bot
orpip install python-telegram-bot
- pandas
conda install pandas
orpip install pandas
Rename config_sample.ini
to config.ini
and fill in your login credentials.
- Install Chromium Web Browser (not the standard snap version of Chromium)
- Download a ChromeDriver corresponding to your version of Chrome (https://chromedriver.chromium.org/downloads)
- Copy it to the same directory as
fmel.py
- Make it executable with
chmod +x chromedriver
? - Add the ChromeDriver to PATH (
PATH=$PATH:~/path/to/chromedriver
)
The scraper works just like a human would to read all room offers from the FMEL website. It opens a browser driver, logs in with the credentials provided in the config.ini
file and consecutively clicks every move-in date and house. If this software runs permanently on a server, you can set the headless
flag to run the Chrome driver without actually opening a browser window.