Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Ole
2026-05-18 21:31:52 +00:00
parent 6eedfffa4d
commit c9383788de
22 changed files with 1614 additions and 42 deletions
+4
View File
@@ -143,6 +143,9 @@ def scrape_ad(html: str, url: str | None = None) -> FinnAd:
has_parking = (
bool(properties.get("parkering/garasje"))
or "parkering" in feature_text
)
has_garage = (
bool(properties.get("parkering/garasje"))
or "garasje" in feature_text
)
broker_company = None
@@ -177,6 +180,7 @@ def scrape_ad(html: str, url: str | None = None) -> FinnAd:
has_terrace=has_terrace,
has_elevator=has_elevator,
has_parking=has_parking,
has_garage=has_garage,
listing_description=listing_description,
broker_name=None,
broker_company=broker_company,