From 4d81fad973087b95fe3bb86243ad0d161092ab60 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 24 Oct 2022 20:40:29 +0200 Subject: [PATCH] Updated Handling variables in the watched URL (markdown) --- Handling-variables-in-the-watched-URL.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Handling-variables-in-the-watched-URL.md b/Handling-variables-in-the-watched-URL.md index c946d08..33042ee 100644 --- a/Handling-variables-in-the-watched-URL.md +++ b/Handling-variables-in-the-watched-URL.md @@ -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' %}