fix: normalize unit num

This commit is contained in:
Cullen Watson
2023-09-18 17:04:34 -05:00
parent c7a4bfd5e4
commit 588689c230
4 changed files with 25 additions and 27 deletions

View File

@@ -240,7 +240,7 @@ class RealtorScraper(Scraper):
city=result["location"]["address"]["city"],
state=result["location"]["address"]["state_code"],
zip_code=result["location"]["address"]["postal_code"],
unit=result["location"]["address"]["unit"],
unit=parse_address_two(result["location"]["address"]["unit"]),
country="USA",
),
site_name=self.site_name,