- zillow bug fix

This commit is contained in:
Zachary Hampton
2023-09-23 10:55:14 -07:00
parent 254f3a68a1
commit 82f78fb578
2 changed files with 2 additions and 1 deletions

View File

@@ -237,7 +237,7 @@ class ZillowScraper(Scraper):
return Property(
site_name=self.site_name,
property_url=url,
property_type=PropertyType(property_type),
property_type=PropertyType(property_type) if property_type in PropertyType.__members__ else None,
listing_type=self.listing_type,
address=address,
year_built=property_data.get("yearBuilt"),