ICS: improve azv_hof and add vogtlandkreis_de

This commit is contained in:
5ila5
2024-02-23 17:15:03 +01:00
committed by 5ila5
parent 28ed5a5181
commit d5dc1a69e6
7 changed files with 52 additions and 2 deletions

View File

@@ -827,6 +827,7 @@ Waste collection schedules in the following formats and countries are supported.
- [Landkreis Südliche Weinstraße](/doc/source/awido_de.md) / suedliche-weinstrasse.de - [Landkreis Südliche Weinstraße](/doc/source/awido_de.md) / suedliche-weinstrasse.de
- [Landkreis Tirschenreuth](/doc/source/awido_de.md) / kreis-tir.de - [Landkreis Tirschenreuth](/doc/source/awido_de.md) / kreis-tir.de
- [Landkreis Tübingen](/doc/source/awido_de.md) / abfall-kreis-tuebingen.de - [Landkreis Tübingen](/doc/source/awido_de.md) / abfall-kreis-tuebingen.de
- [Landkreis Vogtland](/doc/ics/vogtlandkreis_de.md) / vogtlandkreis.de
- [Landkreis Weißenburg-Gunzenhausen](/doc/source/abfall_io.md) / landkreis-wug.de - [Landkreis Weißenburg-Gunzenhausen](/doc/source/abfall_io.md) / landkreis-wug.de
- [Landkreis Wittmund](/doc/source/landkreis_wittmund_de.md) / landkreis-wittmund.de - [Landkreis Wittmund](/doc/source/landkreis_wittmund_de.md) / landkreis-wittmund.de
- [Landkreis Wittmund (MyMuell App)](/doc/source/jumomind_de.md) / mymuell.de - [Landkreis Wittmund (MyMuell App)](/doc/source/jumomind_de.md) / mymuell.de

View File

@@ -10,6 +10,7 @@ AZV Stadt und Landkreis Hof is supported by the generic [ICS](/doc/source/ics.md
- Replace the `url` in the example configuration with this link. - Replace the `url` in the example configuration with this link.
- Replace the year in the link with `{%Y}`. - Replace the year in the link with `{%Y}`.
- Feel free to remove the cHash argument (e.g. `&cHash=34c2ea8698d8ebba9d6f9f97abce20cf`) from the link. - Feel free to remove the cHash argument (e.g. `&cHash=34c2ea8698d8ebba9d6f9f97abce20cf`) from the link.
- If you want to ignore the `geschlossen` messages, add the `regex` option (second example) to the configuration. and use the customize parameter of the source to `display: False` all geschlossen entries.
## Examples ## Examples
@@ -23,3 +24,14 @@ waste_collection_schedule:
split_at: \+ split_at: \+
url: https://www.azv-hof.de/privat/abfuhrtermine/abfuhrkalender-landkreis-hof.html?tx_abfuhrkalender_abfuhrkalender%5Baction%5D=list&tx_abfuhrkalender_abfuhrkalender%5Bansicht%5D=ico&tx_abfuhrkalender_abfuhrkalender%5Bcontroller%5D=Land&tx_abfuhrkalender_abfuhrkalender%5Bjahr%5D={%Y}&tx_abfuhrkalender_abfuhrkalender%5Bort%5D=24&tx_abfuhrkalender_abfuhrkalender%5Bstrasse%5D=&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Ba%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bb%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg1%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg2%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bp%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Br%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bw%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bx%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5By%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bz%5D=1& url: https://www.azv-hof.de/privat/abfuhrtermine/abfuhrkalender-landkreis-hof.html?tx_abfuhrkalender_abfuhrkalender%5Baction%5D=list&tx_abfuhrkalender_abfuhrkalender%5Bansicht%5D=ico&tx_abfuhrkalender_abfuhrkalender%5Bcontroller%5D=Land&tx_abfuhrkalender_abfuhrkalender%5Bjahr%5D={%Y}&tx_abfuhrkalender_abfuhrkalender%5Bort%5D=24&tx_abfuhrkalender_abfuhrkalender%5Bstrasse%5D=&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Ba%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bb%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg1%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg2%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bp%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Br%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bw%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bx%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5By%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bz%5D=1&
``` ```
### Bärlas without geschlossen messages
```yaml
waste_collection_schedule:
sources:
- name: ics
args:
regex: .*([gG]eschlossen)\.
split_at: \+
url: https://www.azv-hof.de/privat/abfuhrtermine/abfuhrkalender-landkreis-hof.html?tx_abfuhrkalender_abfuhrkalender%5Baction%5D=list&tx_abfuhrkalender_abfuhrkalender%5Bansicht%5D=ico&tx_abfuhrkalender_abfuhrkalender%5Bcontroller%5D=Land&tx_abfuhrkalender_abfuhrkalender%5Bjahr%5D={%Y}&tx_abfuhrkalender_abfuhrkalender%5Bort%5D=24&tx_abfuhrkalender_abfuhrkalender%5Bstrasse%5D=&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Ba%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bb%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg1%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg2%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bp%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Br%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bw%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bx%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5By%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bz%5D=1&
```

View File

@@ -0,0 +1,22 @@
# Landkreis Vogtland
Landkreis Vogtland is supported by the generic [ICS](/doc/source/ics.md) source. For all available configuration options, please refer to the source description.
## How to get the configuration arguments
- Goto <https://vogtlandkreis.de/Bürgerservice-und-Verwaltung/Infos-und-Services/Abfallentsorgung/Abfuhrtermine> and select your location.
- Click on `URL ANZEIGEN` to get a ical link. If the button is broken use the `URL in Zwichenablage kopieren` button.
- Replace the `url` in the example configuration with this link.
## Examples
### Bergen, Am Anger 3a
```yaml
waste_collection_schedule:
sources:
- name: ics
args:
url: https://awi.vogtlandkreis.de/WasteManagementVogtland/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1017029001&AboID=217980&Fra=R2;P;P1;B;G;R1https://awi.vogtlandkreis.de/WasteManagementVogtland/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1017786001&AboID=217979&Fra=R2;P;P1;B;G;R1
```

View File

@@ -6,7 +6,12 @@ howto: |
- Replace the `url` in the example configuration with this link. - Replace the `url` in the example configuration with this link.
- Replace the year in the link with `{%Y}`. - Replace the year in the link with `{%Y}`.
- Feel free to remove the cHash argument (e.g. `&cHash=34c2ea8698d8ebba9d6f9f97abce20cf`) from the link. - Feel free to remove the cHash argument (e.g. `&cHash=34c2ea8698d8ebba9d6f9f97abce20cf`) from the link.
- If you want to ignore the `geschlossen` messages, add the `regex` option (second example) to the configuration. and use the customize parameter of the source to `display: False` all geschlossen entries.
test_cases: test_cases:
Bärlas: Bärlas:
url: "https://www.azv-hof.de/privat/abfuhrtermine/abfuhrkalender-landkreis-hof.html?tx_abfuhrkalender_abfuhrkalender%5Baction%5D=list&tx_abfuhrkalender_abfuhrkalender%5Bansicht%5D=ico&tx_abfuhrkalender_abfuhrkalender%5Bcontroller%5D=Land&tx_abfuhrkalender_abfuhrkalender%5Bjahr%5D={%Y}&tx_abfuhrkalender_abfuhrkalender%5Bort%5D=24&tx_abfuhrkalender_abfuhrkalender%5Bstrasse%5D=&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Ba%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bb%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg1%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg2%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bp%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Br%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bw%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bx%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5By%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bz%5D=1&" url: "https://www.azv-hof.de/privat/abfuhrtermine/abfuhrkalender-landkreis-hof.html?tx_abfuhrkalender_abfuhrkalender%5Baction%5D=list&tx_abfuhrkalender_abfuhrkalender%5Bansicht%5D=ico&tx_abfuhrkalender_abfuhrkalender%5Bcontroller%5D=Land&tx_abfuhrkalender_abfuhrkalender%5Bjahr%5D={%Y}&tx_abfuhrkalender_abfuhrkalender%5Bort%5D=24&tx_abfuhrkalender_abfuhrkalender%5Bstrasse%5D=&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Ba%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bb%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg1%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg2%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bp%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Br%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bw%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bx%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5By%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bz%5D=1&"
split_at: "\\+" split_at: "\\+"
Bärlas without geschlossen messages:
url: "https://www.azv-hof.de/privat/abfuhrtermine/abfuhrkalender-landkreis-hof.html?tx_abfuhrkalender_abfuhrkalender%5Baction%5D=list&tx_abfuhrkalender_abfuhrkalender%5Bansicht%5D=ico&tx_abfuhrkalender_abfuhrkalender%5Bcontroller%5D=Land&tx_abfuhrkalender_abfuhrkalender%5Bjahr%5D={%Y}&tx_abfuhrkalender_abfuhrkalender%5Bort%5D=24&tx_abfuhrkalender_abfuhrkalender%5Bstrasse%5D=&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Ba%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bb%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg1%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bg2%5D=0&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bp%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Br%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bw%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bx%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5By%5D=1&tx_abfuhrkalender_abfuhrkalender%5Btonnenwahl%5D%5Bz%5D=1&"
split_at: "\\+"
regex: ".*([gG]eschlossen)\\."

View File

@@ -0,0 +1,9 @@
title: Landkreis Vogtland
url: https://vogtlandkreis.de
howto: |
- Goto <https://vogtlandkreis.de/Bürgerservice-und-Verwaltung/Infos-und-Services/Abfallentsorgung/Abfuhrtermine> and select your location.
- Click on `URL ANZEIGEN` to get a ical link. If the button is broken use the `URL in Zwichenablage kopieren` button.
- Replace the `url` in the example configuration with this link.
test_cases:
Bergen, Am Anger 3a:
url: "https://awi.vogtlandkreis.de/WasteManagementVogtland/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1017029001&AboID=217980&Fra=R2;P;P1;B;G;R1https://awi.vogtlandkreis.de/WasteManagementVogtland/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1017786001&AboID=217979&Fra=R2;P;P1;B;G;R1"

View File

@@ -193,6 +193,7 @@ This source has been successfully tested with the following service providers:
- [Landkreis soest](/doc/ics/abfall_app_net.md) / kreis-soest.de - [Landkreis soest](/doc/ics/abfall_app_net.md) / kreis-soest.de
- [Landkreis Stade](/doc/ics/landkreis_stade_de.md) / landkreis-stade.de - [Landkreis Stade](/doc/ics/landkreis_stade_de.md) / landkreis-stade.de
- [Landkreis Stendal](/doc/ics/abfall_app_net.md) / landkreis-stendal.de - [Landkreis Stendal](/doc/ics/abfall_app_net.md) / landkreis-stendal.de
- [Landkreis Vogtland](/doc/ics/vogtlandkreis_de.md) / vogtlandkreis.de
- [Landratsamt Bodenseekreis](/doc/ics/bodenseekreis_de.md) / bodenseekreis.de - [Landratsamt Bodenseekreis](/doc/ics/bodenseekreis_de.md) / bodenseekreis.de
- [Lebacher Abfallzweckverband (LAZ)](/doc/ics/lebach_de.md) / lebach.de - [Lebacher Abfallzweckverband (LAZ)](/doc/ics/lebach_de.md) / lebach.de
- [Lübeck Entsorgungsbetriebe](/doc/ics/luebeck_de.md) / luebeck.de - [Lübeck Entsorgungsbetriebe](/doc/ics/luebeck_de.md) / luebeck.de

File diff suppressed because one or more lines are too long