Skip to content

Commit

Permalink
[RP] Fix zip and city splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
k-nut committed Feb 10, 2025
1 parent ead2cb9 commit bbcf299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jedeschule/spiders/rheinland_pfalz.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def parse_school(self, response):
yield item

def normalize(self, item: Item) -> School:
zip, city = item.get("Anschrift")[-1].rsplit(" ")
zip, city = item.get("Anschrift")[-1].split(" ", 1)
email = item.get("E-Mail", "").replace("(at)", "@")
return School(
name=item.get("name"),
Expand Down

0 comments on commit bbcf299

Please sign in to comment.