summaryrefslogtreecommitdiff
path: root/searx/search/processors
diff options
context:
space:
mode:
Diffstat (limited to 'searx/search/processors')
-rw-r--r--searx/search/processors/online.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/searx/search/processors/online.py b/searx/search/processors/online.py
index 0cc175e1b..df0ab8c21 100644
--- a/searx/search/processors/online.py
+++ b/searx/search/processors/online.py
@@ -73,6 +73,10 @@ class OnlineProcessor(EngineProcessor):
if max_redirects:
request_args['max_redirects'] = max_redirects
+ # allow_redirects
+ if 'allow_redirects' in params:
+ request_args['allow_redirects'] = params['allow_redirects']
+
# soft_max_redirects
soft_max_redirects = params.get('soft_max_redirects', max_redirects or 0)