Updated Handling variables in the watched URL (markdown)

master
dgtlmoon 2022-10-24 20:40:29 +02:00
rodzic 4915509700
commit 4d81fad973
1 zmienionych plików z 1 dodań i 2 usunięć

@ -1,6 +1,5 @@
@todo update
Sometimes you need to insert the current date, this can be done following the _Jinja2_ template syntax, you can also use any other Jinja2 syntax (for example, if the day is a tuesday, then insert the word "foobar" or something)
Sometimes you need to insert the current date into the requested URL, this can be done by using the _Jinja2_ template syntax, you can also use any other Jinja2 syntax (for example, if the day is a tuesday, then insert the word "foobar" or something)
```
https://changedetection.io/test.txt?date={% now 'Europe/Berlin', '%d' %}.{% now 'Europe/Berlin', '%m' %}.{% now 'Europe/Berlin', '%Y' %}