tai271828 / funda-scraper

FundaScaper scrapes data from Funda, the Dutch housing website. You can find listings from house-buyer or rental market, and historical data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FundaScraper

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build Status codecov Downloads PyPI version PEP8

FundaScaper provides you the easiest way to perform web scraping from Funda, the Dutch housing website. You can find listings from either house-buyer or rental market, and you can find historical data from the past few year.

Please note:

  1. Scraping this website is only allowed for personal use (as per Funda's Terms and Conditions).
  2. Any commercial use of this Python package is prohibited. The author holds no liability for any misuse of the package.

Install

pip install funda-scraper

Quickstart

from funda_scraper import FundaScraper

scraper = FundaScraper(area="amsterdam", want_to="rent", find_past=False)
df = scraper.run()
df.head()

image

You can pass several arguments to FundaScraper() for customized scraping:

  • area: Specify the city or specific area you want to look for, eg. Amsterdam, Utrecht, Rotterdam, etc
  • want_to: You can choose either buy or rent, which finds houses either for sale or for rent.
  • find_past: Specify whether you want to check the historical data. The default is False.
  • n_pages: Indicate how many pages you want to look up. The default is 1.

Advanced usage

You can check the example notebook for further details. Please give me a star if you find this project helpful.

About

FundaScaper scrapes data from Funda, the Dutch housing website. You can find listings from house-buyer or rental market, and historical data.


Languages

Language:Python 100.0%