on master help sign in
Merge pull request #2557 from dalf/fix-raise_for_httperror
63d6ccfAlexandre Flament
searx/search/processors/online.py+1−1
@@ -77,7 +77,7 @@ class OnlineProcessor(EngineProcessor):
77 soft_max_redirects = params.get('soft_max_redirects', max_redirects or 0)
77 soft_max_redirects = params.get('soft_max_redirects', max_redirects or 0)
78
78
79 # raise_for_status
79 # raise_for_status
80− request_args['raise_for_httperror'] = params.get('raise_for_httperror', False)
80+ request_args['raise_for_httperror'] = params.get('raise_for_httperror', True)
81
81
82 # specific type of request (GET or POST)
82 # specific type of request (GET or POST)
83 if params['method'] == 'GET':
83 if params['method'] == 'GET':