Skip to content

A bot that monitors wg-gesucht.de for new flat offers and automatically writes to the landlords

License

Notifications You must be signed in to change notification settings

AlessandroGrassi99/wgbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WG Bot

This script aims to make life easier for people looking for homes in Germany. Specifically, it automates the search for houses and rooms on the wg-gesucht.de website and contacts the landlord privately.

This is a deeply modified version of immo. Rewritten to work with the latest versions of Python and the site itself.

Requirements

  1. Python 3 (tested only on Python 3.10)
    • pip
    • venv
  2. chromedriver (default location is /usr/bin/chromedriver setted on wg_submit.py)
    • For Ubuntu you can follow this guide to install it.
    • After installing it, check the path with which chromedriver, if it does not match the default one, change it in the file wg_submit.py
    • If you want, you can change the Selenium configuration to replace Chrome with another browser. In this case, you will not need chromedriver

Create the environment

  1. Clone the repository with git clone https://github.com/AlessandroGrassi99/wgbot.git
  2. Make sure you are in the root of the repository folder (inside the wgbot folder)
  3. Edit config.toml with your data
  4. Create Python virtual environment with python -m venv venv
  5. Activate python's virtual environment with source venv/bin/activate
  6. Install dependencies with pip install -r requirements.txt

Run

  1. Activate python's virtual environment with source venv/bin/activate
  2. Run python wg_bot.py

Tips and troubleshooting

  • Use the filters with the English version of the site, they must be in the format https://www.wg-gesucht.de/en/, with /en/ at the end
  • Currently Selenium and other dependencies have some problems on macOS systems. Unfortunately, these are not problems that depend directly on the script; I recommend using a VM with Ubuntu.
  • I suggest you to check the README file of the original project, there might be interesting insights there

About

A bot that monitors wg-gesucht.de for new flat offers and automatically writes to the landlords

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages