diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/service/AppAbfallplusDe.py b/custom_components/waste_collection_schedule/waste_collection_schedule/service/AppAbfallplusDe.py index ac7e7e866..88bdded15 100755 --- a/custom_components/waste_collection_schedule/waste_collection_schedule/service/AppAbfallplusDe.py +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/service/AppAbfallplusDe.py @@ -268,7 +268,7 @@ def extract_onclicks( onclick: str = a.attrs["onclick"].replace("('#f_ueberspringen').val('0')", "") start = onclick.find("(") + 1 end = onclick.find("})") + 1 - string = ("[" + onclick[start:end] + "]").replace("'", '"') + string = ("[" + onclick[start:end] + "]").replace('"', '\\"').replace("'", '"') try: to_return.append(json.loads(string)) except json.decoder.JSONDecodeError: diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/app_abfallplus_de.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/app_abfallplus_de.py index efc3b833d..8206c71b8 100644 --- a/custom_components/waste_collection_schedule/waste_collection_schedule/source/app_abfallplus_de.py +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/app_abfallplus_de.py @@ -29,6 +29,12 @@ "strasse": "Alle Straßen", "city": "Bergen", }, + "de.k4systems.abfallappcux Wurster Nordseeküste Aakweg Alle Hausnummern": { + "app_id": "de.k4systems.abfallappcux", + "strasse": "Aakweg", + "hnr": "Alle Hausnummern", + "city": "Wurster Nordseeküste", + }, # MORE TEST CASES UNCOMMENT IF NEEDED FOR DEBUGGING # "de.k4systems.zakb Fürth Ahornweg 3 A": { # "app_id": "de.k4systems.zakb",