pyfunda 2.6.1__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.1 → pyfunda-2.6.2}/PKG-INFO +1 -1
- {pyfunda-2.6.1 → pyfunda-2.6.2}/funda/funda.py +9 -1
- {pyfunda-2.6.1 → pyfunda-2.6.2}/pyproject.toml +1 -1
- {pyfunda-2.6.1 → pyfunda-2.6.2}/.dockerignore +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/.github/FUNDING.yml +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/.github/workflows/publish.yml +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/.gitignore +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/Dockerfile +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/LICENSE +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/README.md +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/examples/analysis.ipynb +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/examples/export_to_csv.py +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/examples/new_listings_alert.py +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/examples/poll_new_listings.py +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/examples/price_history.py +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/examples/price_tracker.py +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/examples/search_sold.py +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/funda/__init__.py +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/funda/listing.py +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/funda/py.typed +0 -0
- {pyfunda-2.6.1 → pyfunda-2.6.2}/test_all_flows.py +0 -0
|
@@ -823,12 +823,20 @@ 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"),
|
|
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
|