Update year in example url (#1617)

* Update year in example url

* add note to replace year with {%Y}

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
This commit is contained in:
Edges
2024-01-02 16:19:32 +01:00
committed by GitHub
parent 3d5a6bffc2
commit 9cdf461029
2 changed files with 4 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ known to work with:
- Goto the Abfuhrkalender url of your service provider (like <https://www.gipsprojekt.de/featureGips/Gips?Anwendung=Abfuhrkalender&Mandant=Heidelberg&Abfuhrkalender=Heidelberg>) and click on your location/street.
- Right-click -> copy the url of the Im iCalendar-Format abonnieren/speichern.
- Replace the `url` in the example configuration with this link.
- Replace the Jahr argument with `{%Y}` like in the example configuration. This way the year will be automatically updated.
## Examples
@@ -23,5 +24,5 @@ waste_collection_schedule:
sources:
- name: ics
args:
url: https://www.gipsprojekt.de/featureGips/Gips?SessionMandant=Heidelberg&Anwendung=ABFUHRKALENDER&Methode=TermineAnzeigenICS&Mandant=Heidelberg&Abfuhrkalender=Heidelberg&Bezirk_ID=36413&Jahr=2023&Suchkriterium1=
url: https://www.gipsprojekt.de/featureGips/Gips?SessionMandant=Heidelberg&Anwendung=ABFUHRKALENDER&Methode=TermineAnzeigenICS&Mandant=Heidelberg&Abfuhrkalender=Heidelberg&Bezirk_ID=36336&Jahr={%Y}&Suchkriterium1=
```

View File

@@ -4,6 +4,7 @@ howto: |
- Goto the Abfuhrkalender url of your service provider (like <https://www.gipsprojekt.de/featureGips/Gips?Anwendung=Abfuhrkalender&Mandant=Heidelberg&Abfuhrkalender=Heidelberg>) and click on your location/street.
- Right-click -> copy the url of the Im iCalendar-Format abonnieren/speichern.
- Replace the `url` in the example configuration with this link.
- Replace the Jahr argument with `{%Y}` like in the example configuration. This way the year will be automatically updated.
description: |
known to work with:
| region | url |
@@ -15,5 +16,4 @@ extra_info:
country: de
test_cases:
Heidelberg Berthold-Mogel-Str. (Südstadt):
url: "https://www.gipsprojekt.de/featureGips/Gips?SessionMandant=Heidelberg&Anwendung=ABFUHRKALENDER&Methode=TermineAnzeigenICS&Mandant=Heidelberg&Abfuhrkalender=Heidelberg&Bezirk_ID=36413&Jahr=2023&Suchkriterium1="
url: "https://www.gipsprojekt.de/featureGips/Gips?SessionMandant=Heidelberg&Anwendung=ABFUHRKALENDER&Methode=TermineAnzeigenICS&Mandant=Heidelberg&Abfuhrkalender=Heidelberg&Bezirk_ID=36336&Jahr={%Y}&Suchkriterium1="