Re #1052 - Dynamic URLs, use variables in the URL (such as the current date, the date in a month, and other logic see https://github.com/dgtlmoon/changedetection.io/wiki/Handling-variables-in-the-watched-URL ) (#1057)

This commit is contained in:
dgtlmoon
2022-10-24 23:20:39 +02:00
committed by GitHub
parent 4eb4b401a1
commit 724cb17224
5 changed files with 51 additions and 2 deletions

View File

@@ -159,5 +159,10 @@ def live_server_setup(live_server):
ret = " ".join([auth.username, auth.password, auth.type])
return ret
# Just return some GET var
@live_server.app.route('/test-return-query', methods=['GET'])
def test_return_query():
return request.query_string
live_server.start()