url and find does not work on the 2024 website
MoritzHauer opened this issue · comments
not well tested fixes:
akal_php = 'https://web4.karlsruhe.de/service/abfall/akal/akal_2024.php'
...
url = f"{akal_php}?hausnr={number}&strasse={quote(street.strip())}"
...
dates = re.findall(r'
Straßensperrmüll: (\d+.\d+.\d+)
', response)
I'm no longer in KA, feel free to propose a PR :)
ok, i updated it :)