From 9507564ebff4c042a354d3e6423c171abf91c0b7 Mon Sep 17 00:00:00 2001 From: Alexander Roidl <34438048+alexanderroidl@users.noreply.github.com> Date: Tue, 18 Jun 2024 11:59:04 +0200 Subject: [PATCH] fix: Removed " Zi." from ImmoWelt rooms text parsing --- flathunter/crawler/immowelt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flathunter/crawler/immowelt.py b/flathunter/crawler/immowelt.py index b97c4e1f..8f6b113f 100644 --- a/flathunter/crawler/immowelt.py +++ b/flathunter/crawler/immowelt.py @@ -71,7 +71,7 @@ def extract_data(self, soup: BeautifulSoup): try: rooms = expose_ids[idx].find( - "div", attrs={"data-test": "rooms"}).text + "div", attrs={"data-test": "rooms"}).text.replace(" Zi.", "") except IndexError: rooms = ""