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
104 stars 48 forks source link

Improvement: allow filtering the query on property type #28

Closed adrianAzoitei closed 6 months ago

adrianAzoitei commented 6 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"
)