- remove pending listings from for_sale

pull/40/head
Zachary Hampton 2023-10-18 14:41:41 -07:00
parent f726548cc6
commit 11a7d854f0
2 changed files with 4 additions and 1 deletions

View File

@ -471,6 +471,9 @@ class RealtorScraper(Scraper):
is_pending = result["flags"].get("is_pending") or result["flags"].get("is_contingent")
if is_pending and self.listing_type != ListingType.PENDING:
continue
realty_property = Property(
mls=mls,
mls_id=result["source"].get("listing_id")

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "homeharvest"
version = "0.3.6"
version = "0.3.7"
description = "Real estate scraping library supporting Zillow, Realtor.com & Redfin."
authors = ["Zachary Hampton <zachary@zacharysproducts.com>", "Cullen Watson <cullen@cullen.ai>"]
homepage = "https://github.com/Bunsly/HomeHarvest"