mirror of
https://github.com/Bunsly/HomeHarvest.git
synced 2026-03-04 19:44:29 -08:00
Merge pull request #42 from Bunsly/street_dirction
fix: add street direction
This commit is contained in:
@@ -49,6 +49,7 @@ class RealtorScraper(Scraper):
|
|||||||
listing_id
|
listing_id
|
||||||
}
|
}
|
||||||
address {
|
address {
|
||||||
|
street_direction
|
||||||
street_number
|
street_number
|
||||||
street_name
|
street_name
|
||||||
street_suffix
|
street_suffix
|
||||||
@@ -215,6 +216,7 @@ class RealtorScraper(Scraper):
|
|||||||
stories
|
stories
|
||||||
}
|
}
|
||||||
address {
|
address {
|
||||||
|
street_direction
|
||||||
street_number
|
street_number
|
||||||
street_name
|
street_name
|
||||||
street_suffix
|
street_suffix
|
||||||
@@ -315,6 +317,7 @@ class RealtorScraper(Scraper):
|
|||||||
}
|
}
|
||||||
location {
|
location {
|
||||||
address {
|
address {
|
||||||
|
street_direction
|
||||||
street_number
|
street_number
|
||||||
street_name
|
street_name
|
||||||
street_suffix
|
street_suffix
|
||||||
@@ -606,6 +609,7 @@ class RealtorScraper(Scraper):
|
|||||||
return Address(
|
return Address(
|
||||||
street=" ".join([
|
street=" ".join([
|
||||||
self.handle_none_safely(address.get('street_number')),
|
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_name')),
|
||||||
self.handle_none_safely(address.get('street_suffix')),
|
self.handle_none_safely(address.get('street_suffix')),
|
||||||
]).strip(),
|
]).strip(),
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "homeharvest"
|
name = "homeharvest"
|
||||||
version = "0.3.8"
|
version = "0.3.9"
|
||||||
description = "Real estate scraping library supporting Zillow, Realtor.com & Redfin."
|
description = "Real estate scraping library supporting Zillow, Realtor.com & Redfin."
|
||||||
authors = ["Zachary Hampton <zachary@zacharysproducts.com>", "Cullen Watson <cullen@cullen.ai>"]
|
authors = ["Zachary Hampton <zachary@zacharysproducts.com>", "Cullen Watson <cullen@cullen.ai>"]
|
||||||
homepage = "https://github.com/Bunsly/HomeHarvest"
|
homepage = "https://github.com/Bunsly/HomeHarvest"
|
||||||
|
|||||||
Reference in New Issue
Block a user