- single home return type bug fix

This commit is contained in:
zachary
2025-05-05 12:29:36 -07:00
parent a3c5e9060e
commit 68a3438c6e
3 changed files with 14 additions and 8 deletions

View File

@@ -121,7 +121,10 @@ class RealtorScraper(Scraper):
property_info = response_json["data"]["home"]
return [self.process_property(property_info)]
if self.return_type != ReturnType.raw:
return [self.process_property(property_info)]
else:
return [property_info]
@staticmethod
def process_advertisers(advertisers: list[dict] | None) -> Advertisers | None: