summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-02-12 10:56:25 +0100
committerGitHub <noreply@github.com>2021-02-12 10:56:25 +0100
commit63d6ccfbc2f1a61a2b0b9040d89858a540ede475 (patch)
treeeaf85bebd74909fefe065f545a2d5e164666efcd
parent74c8b5606f9bfd4a6a4c36b2d0e789b223f82c6a (diff)
parentaedf03c0f750240b19f01ed1a007043141c667dc (diff)
Merge pull request #2557 from dalf/fix-raise_for_httperror
Fix: activate raise_for_error by default
-rw-r--r--searx/search/processors/online.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/search/processors/online.py b/searx/search/processors/online.py
index d79edd542..0cc175e1b 100644
--- a/searx/search/processors/online.py
+++ b/searx/search/processors/online.py
@@ -77,7 +77,7 @@ class OnlineProcessor(EngineProcessor):
soft_max_redirects = params.get('soft_max_redirects', max_redirects or 0)
# raise_for_status
- request_args['raise_for_httperror'] = params.get('raise_for_httperror', False)
+ request_args['raise_for_httperror'] = params.get('raise_for_httperror', True)
# specific type of request (GET or POST)
if params['method'] == 'GET':