pyfunda 2.6.0__tar.gz → 2.6.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyfunda-2.6.0 → pyfunda-2.6.2}/PKG-INFO +1 -1
- {pyfunda-2.6.0 → pyfunda-2.6.2}/funda/funda.py +11 -2
- {pyfunda-2.6.0 → pyfunda-2.6.2}/pyproject.toml +1 -1
- {pyfunda-2.6.0 → pyfunda-2.6.2}/.dockerignore +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/.github/FUNDING.yml +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/.github/workflows/publish.yml +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/.gitignore +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/Dockerfile +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/LICENSE +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/README.md +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/examples/analysis.ipynb +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/examples/export_to_csv.py +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/examples/new_listings_alert.py +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/examples/poll_new_listings.py +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/examples/price_history.py +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/examples/price_tracker.py +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/examples/search_sold.py +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/funda/__init__.py +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/funda/listing.py +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/funda/py.typed +0 -0
- {pyfunda-2.6.0 → pyfunda-2.6.2}/test_all_flows.py +0 -0
|
@@ -421,7 +421,7 @@ class Funda:
|
|
|
421
421
|
"path": f"area_with_radius.{actual_radius}",
|
|
422
422
|
}
|
|
423
423
|
elif locations:
|
|
424
|
-
params["selected_area"] = locations
|
|
424
|
+
params["selected_area"] = [loc.lower() for loc in locations]
|
|
425
425
|
|
|
426
426
|
# Price filter - format depends on offering type
|
|
427
427
|
if price_min is not None or price_max is not None:
|
|
@@ -823,16 +823,25 @@ class Funda:
|
|
|
823
823
|
agents = source.get("agent", [])
|
|
824
824
|
agent = agents[0] if agents else {}
|
|
825
825
|
|
|
826
|
+
street = address.get("street_name") or ""
|
|
827
|
+
number = address.get("house_number") or ""
|
|
828
|
+
suffix = address.get("house_number_suffix") or ""
|
|
829
|
+
title = f"{street} {number}".strip()
|
|
830
|
+
if suffix:
|
|
831
|
+
title = f"{title}-{suffix}" if number else f"{title} {suffix}".strip()
|
|
832
|
+
|
|
826
833
|
listing_data = {
|
|
827
834
|
"global_id": int(hit.get("_id", 0)),
|
|
828
|
-
"title":
|
|
835
|
+
"title": title,
|
|
829
836
|
"street_name": address.get("street_name"),
|
|
830
837
|
"house_number": address.get("house_number"),
|
|
831
838
|
"house_number_suffix": address.get("house_number_suffix"),
|
|
839
|
+
"house_number_ext": address.get("house_number_suffix"),
|
|
832
840
|
"city": address.get("city"),
|
|
833
841
|
"postcode": address.get("postal_code"),
|
|
834
842
|
"province": address.get("province"),
|
|
835
843
|
"neighbourhood": address.get("neighbourhood"),
|
|
844
|
+
"wijk": address.get("wijk"),
|
|
836
845
|
"price": price,
|
|
837
846
|
"price_condition": price_condition,
|
|
838
847
|
"living_area": source.get("floor_area", [None])[0] if source.get("floor_area") else None,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|