Skip to content

Commit

Permalink
Merge pull request #610 from alexanderroidl/fix/immowelt-parsing-rooms
Browse files Browse the repository at this point in the history
fix: Removed " Zi." from ImmoWelt rooms text parsing
  • Loading branch information
codders authored Jun 18, 2024
2 parents a8b473d + 9507564 commit cbc1682
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 cbc1682

Please sign in to comment.