diff --git a/homeharvest/core/scrapers/realtor/__init__.py b/homeharvest/core/scrapers/realtor/__init__.py index 0f175f8..f345a27 100644 --- a/homeharvest/core/scrapers/realtor/__init__.py +++ b/homeharvest/core/scrapers/realtor/__init__.py @@ -471,6 +471,9 @@ def general_search( 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") diff --git a/pyproject.toml b/pyproject.toml index c03f0f6..6a2212c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 ", "Cullen Watson "] homepage = "https://github.com/Bunsly/HomeHarvest"