fix: add regex to edg_de documentation example (#1645)

* fix: add regex to edg_de documentation example

* run ./update_docu_links.py

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
This commit is contained in:
Malte Hellmeier
2024-01-07 14:49:47 +01:00
committed by GitHub
parent 190381417d
commit c7a9a95bdf
2 changed files with 7 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ EDG Entsorgung Dortmund is supported by the generic [ICS](/doc/source/ics.md) so
- Goto <https://www.edg.de/de/entsorgungsdienstleistungen/rein-damit/abfallkalender/abfallkalender.htm> and select your location and press `weiter`.
- Click on `URL in die Zwischenablage kopieren` to copy the ical url.
- Replace the `url` in the example configuration with this link.
- Leave the `regex` untouched
- You can use the different types as `Bioabfall`, `Altpapier`, `Restabfall` and `Wertstoffe`
## Examples
@@ -18,5 +20,6 @@ waste_collection_schedule:
sources:
- name: ics
args:
regex: ^(\w*) \d* .*
url: https://kundenportal.edg.de/WasteManagementDortmund/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1271001001&AboID=66930&Fra=P;R;B;W
```

View File

@@ -4,6 +4,9 @@ howto: |
- Goto <https://www.edg.de/de/entsorgungsdienstleistungen/rein-damit/abfallkalender/abfallkalender.htm> and select your location and press `weiter`.
- Click on `URL in die Zwischenablage kopieren` to copy the ical url.
- Replace the `url` in the example configuration with this link.
- Leave the `regex` untouched
- You can use the different types as `Bioabfall`, `Altpapier`, `Restabfall` and `Wertstoffe`
test_cases:
Baackweg 1:
url: "https://kundenportal.edg.de/WasteManagementDortmund/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1271001001&AboID=66930&Fra=P;R;B;W"
url: "https://kundenportal.edg.de/WasteManagementDortmund/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1271001001&AboID=66930&Fra=P;R;B;W"
regex: "^(\\w*) \\d* .*"