Merge pull request #42 from Bunsly/street_dirction

fix: add street direction
pull/43/head v0.3.9
Cullen Watson 2023-11-08 16:53:29 -06:00 committed by GitHub
commit 5b6a9943cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -49,6 +49,7 @@ class RealtorScraper(Scraper):
listing_id
}
address {
street_direction
street_number
street_name
street_suffix
@ -215,6 +216,7 @@ class RealtorScraper(Scraper):
stories
}
address {
street_direction
street_number
street_name
street_suffix
@ -315,6 +317,7 @@ class RealtorScraper(Scraper):
}
location {
address {
street_direction
street_number
street_name
street_suffix
@ -606,6 +609,7 @@ class RealtorScraper(Scraper):
return Address(
street=" ".join([
self.handle_none_safely(address.get('street_number')),
self.handle_none_safely(address.get('street_direction')),
self.handle_none_safely(address.get('street_name')),
self.handle_none_safely(address.get('street_suffix')),
]).strip(),

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "homeharvest"
version = "0.3.8"
version = "0.3.9"
description = "Real estate scraping library supporting Zillow, Realtor.com & Redfin."
authors = ["Zachary Hampton <zachary@zacharysproducts.com>", "Cullen Watson <cullen@cullen.ai>"]
homepage = "https://github.com/Bunsly/HomeHarvest"