Skip to content

Commit

Permalink
fix: Removed " Zi." from ImmoWelt rooms text parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderroidl committed Jun 18, 2024
1 parent a8b473d commit 9507564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flathunter/crawler/immowelt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""

Expand Down

0 comments on commit 9507564

Please sign in to comment.