mirror of
https://github.com/Bunsly/HomeHarvest.git
synced 2026-03-04 19:44:29 -08:00
refactor(redfin): fit to use updated models
This commit is contained in:
6
homeharvest/utils.py
Normal file
6
homeharvest/utils.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import re
|
||||
|
||||
|
||||
def parse_address_two(address_one: str):
|
||||
apt_match = re.search(r"(APT\s*.+|#[\s\S]+)$", address_one, re.I)
|
||||
return apt_match.group().strip() if apt_match else None
|
||||
Reference in New Issue
Block a user