mirror of
https://github.com/Bunsly/HomeHarvest.git
synced 2026-03-04 19:44:29 -08:00
- single home return type bug fix
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user