diff --git a/homeharvest/core/scrapers/realtor/__init__.py b/homeharvest/core/scrapers/realtor/__init__.py index 306d675..090a12f 100644 --- a/homeharvest/core/scrapers/realtor/__init__.py +++ b/homeharvest/core/scrapers/realtor/__init__.py @@ -503,7 +503,7 @@ class RealtorScraper(Scraper): mls_id=result["source"].get("listing_id") if "source" in result and isinstance(result["source"], dict) else None, - property_url=f"{self.PROPERTY_URL}{result['property_id']}", + property_url=f"{self.PROPERTY_URL}{result['property_id']}" if self.listing_type != ListingType.FOR_RENT else f"{self.PROPERTY_URL}M{result['property_id']}?listing_status=rental", status="PENDING" if is_pending else result["status"].upper(), list_price=result["list_price"], list_date=result["list_date"].split("T")[0] diff --git a/pyproject.toml b/pyproject.toml index 7b9d207..c999a8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "homeharvest" -version = "0.3.11" +version = "0.3.12" description = "Real estate scraping library supporting Zillow, Realtor.com & Redfin." authors = ["Zachary Hampton ", "Cullen Watson "] homepage = "https://github.com/Bunsly/HomeHarvest"