From 6c3c5dc28a44e2c66b2341fc4f447a973daa30e2 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 19 Apr 2022 23:15:00 +0200 Subject: [PATCH] Ability to set the default fetch mode via the DEFAULT_FETCH_BACKEND variable --- changedetectionio/model/App.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/model/App.py b/changedetectionio/model/App.py index 0d9aa692..c54df507 100644 --- a/changedetectionio/model/App.py +++ b/changedetectionio/model/App.py @@ -32,7 +32,7 @@ class model(dict): 'password': False, 'base_url' : None, 'extract_title_as_title': False, - 'fetch_backend': 'html_requests', + 'fetch_backend': os.getenv("DEFAULT_FETCH_BACKEND", "html_requests"), 'global_ignore_text': [], # List of text to ignore when calculating the comparison checksum 'global_subtractive_selectors': [], 'ignore_whitespace': False,