diff --git a/Handling-variables-in-the-watched-URL.md b/Handling-variables-in-the-watched-URL.md index 33042ee..4fe2a88 100644 --- a/Handling-variables-in-the-watched-URL.md +++ b/Handling-variables-in-the-watched-URL.md @@ -1,4 +1,8 @@ +In https://github.com/dgtlmoon/changedetection.io/pull/1057 we add the possibility to use Jinja2 templating in the URL, using the [Jinja2 time extension](https://pypi.org/project/jinja2-time/), you can specify a date (such as the current date according to your timezone) or a relative date (for example, the date yesterday and the date in one month) + +Perfect for websites that need to search between dates, for example. + 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) ```