Skip to content

Scraper for searching a WG on wg-gesucht.de and notify via Pushover or Telegram

License

Notifications You must be signed in to change notification settings

Qu4ndo/wg-gesucht_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wg-gesucht_scraper

Scraper for searching a WG on wg-gesucht.de and notify via Pushover or Telegram

Functions

After setting up the scraper it will search the predefined url (with your specific filter options) and give you an update via pushover or telegram when new objects are being listed.

Before use

Define your preferred way of notification in the config.txt file under use_notification and set your pushover user-token & app-token or your telegram bot-token & bot-chatID before use or there will be no notification. Also add your specific Search URL with the defined filters for your city (main.py).

config.txt

config

URL (main.py)

url

ATTENTION

The scraper is using BeautifulSoup4, so you have to install it on your machine.

First install python3-pip with:

sudo apt-get install python3-pip

And the Bs4-Modul with:

pip3 install bs4

Extra Information

If deployed on a server or raspberry-pi use a crontab to let it run in the background. A good interval would be every 5 minutes.

crontab -e

And insert following crontab statement:

*/5 * * * * cd /your/path/to/script/wg-gesucht_scraper && exec python3 main.py

About

Scraper for searching a WG on wg-gesucht.de and notify via Pushover or Telegram

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages