whchien / funda-scraper

FundaScaper scrapes data from Funda, the Dutch housing website. You can find listings from house-buying or rental market, and historical data. 🏡
GNU General Public License v3.0
114 stars 53 forks source link

Improvement: allow filtering the query on property type #28

Closed adrianAzoitei closed 8 months ago

adrianAzoitei commented 9 months ago

This solves https://github.com/whchien/funda-scraper/issues/27.

It is now possible to filter a query based on property type (only apartment and house supported at the moment).

For example:

# only query for houses
scraper = FundaScraper(
          area="amsterdam, 
          property_type="house",
          want_to="buy", 
          max_price="450000"

# only query for apartments
scraper = FundaScraper(
          area="amsterdam, 
          property_type="apartment",
          want_to="buy", 
          max_price="450000"
)