mirror of
https://github.com/Bunsly/HomeHarvest.git
synced 2026-03-04 11:34:32 -08:00
- updated queries
This commit is contained in:
@@ -432,10 +432,10 @@ class RealtorScraper(Scraper):
|
||||
"radius": "{}mi".format(self.radius),
|
||||
}
|
||||
|
||||
elif location_type == "postal_code":
|
||||
search_variables |= {
|
||||
"postal_code": location_info.get("postal_code"),
|
||||
}
|
||||
#: elif location_type == "postal_code":
|
||||
#: search_variables |= {
|
||||
#: "postal_code": location_info.get("postal_code"),
|
||||
#: }
|
||||
|
||||
else: #: general search, location
|
||||
search_variables |= {
|
||||
|
||||
@@ -36,6 +36,13 @@ _SEARCH_HOMES_DATA_BASE = """{
|
||||
sqft
|
||||
__typename
|
||||
}
|
||||
photos(https: true) {
|
||||
title
|
||||
href
|
||||
tags {
|
||||
label
|
||||
}
|
||||
}
|
||||
list_price
|
||||
__typename
|
||||
}
|
||||
@@ -90,12 +97,17 @@ _SEARCH_HOMES_DATA_BASE = """{
|
||||
}
|
||||
}
|
||||
tax_record {
|
||||
cl_id
|
||||
public_record_id
|
||||
last_update_date
|
||||
apn
|
||||
tax_parcel_id
|
||||
}
|
||||
primary_photo(https: true) {
|
||||
href
|
||||
}
|
||||
photos(https: true) {
|
||||
title
|
||||
href
|
||||
tags {
|
||||
label
|
||||
|
||||
Reference in New Issue
Block a user