- optimizations

pull/102/head v0.3.32
Zachary Hampton 2024-06-14 21:50:23 -07:00
parent beb885cc8d
commit ac0cad62a7
2 changed files with 3 additions and 3 deletions

View File

@ -535,7 +535,7 @@ class RealtorScraper(Scraper):
return return
property_id = result["property_id"] property_id = result["property_id"]
prop_details = self.get_prop_details(property_id) prop_details = self.get_prop_details(property_id) if self.extra_property_data else {}
realty_property = Property( realty_property = Property(
mls=mls, mls=mls,
@ -647,7 +647,7 @@ class RealtorScraper(Scraper):
total = result["total"] total = result["total"]
homes = result["properties"] homes = result["properties"]
with ThreadPoolExecutor(max_workers=10) as executor: with ThreadPoolExecutor() as executor:
futures = [ futures = [
executor.submit( executor.submit(
self.general_search, self.general_search,

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "homeharvest" name = "homeharvest"
version = "0.3.31" version = "0.3.32"
description = "Real estate scraping library" description = "Real estate scraping library"
authors = ["Zachary Hampton <zachary@bunsly.com>", "Cullen Watson <cullen@bunsly.com>"] authors = ["Zachary Hampton <zachary@bunsly.com>", "Cullen Watson <cullen@bunsly.com>"]
homepage = "https://github.com/Bunsly/HomeHarvest" homepage = "https://github.com/Bunsly/HomeHarvest"