Skip to content

commandercool/funda-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Funda notification bot

telegram

Setting up

  1. Create telegram bot following official documentation.
  2. Create a channel, invite your bot into the channel
  3. find out the channel id
  4. Create an sqlite database with a single table:
    sqlite3 funda.py
    create table listing(street text);
    
  5. Install dependencies with:
    pip install -r requirements.txt
    
  6. Define environment variables:
    export FUNDA_DB=... # location of sqlite database
    export TELEGRAM_TOKEN=... # telegram token 1234567890:QWERTYQWERTYQWERTYQWERTYQWERTYQWERT
    export CHAT_ID=... # -1234567890
    export SEARCH_URL=... # funda search url https://www.funda.nl/zoeken/...
    
  7. Run the app to get notifications for new listings:
    python3 scraper.py
    
  8. Configure a cron job to run on certain intervals
  9. Enjoy and don't miss any new listings!

About

Funda scraper with telegram notifications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages