diff options
author | Noémi Ványi <sitbackandwait@gmail.com> | 2020-10-09 15:05:13 +0200 |
---|---|---|
committer | Noémi Ványi <sitbackandwait@gmail.com> | 2020-10-09 15:06:05 +0200 |
commit | 72c7fd25fe1f49d27ce7725bb50eaee58d7e009f (patch) | |
tree | 158ddd90c1a37ac756edfea278e2a44c498e15e9 /searx/search.py | |
parent | a05c660e3036ad8d02072fc6731af54c2ed6151c (diff) | |
download | searxng-72c7fd25fe1f49d27ce7725bb50eaee58d7e009f.tar.gz searxng-72c7fd25fe1f49d27ce7725bb50eaee58d7e009f.zip |
Add yacy improvements: HTTP digest auth, category checking
Diffstat (limited to 'searx/search.py')
-rw-r--r-- | searx/search.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/searx/search.py b/searx/search.py index 76291a69c..cd195825a 100644 --- a/searx/search.py +++ b/searx/search.py @@ -97,7 +97,8 @@ def send_http_request(engine, request_params): request_args = dict( headers=request_params['headers'], cookies=request_params['cookies'], - verify=request_params['verify'] + verify=request_params['verify'], + auth=request_params['auth'] ) # setting engine based proxies @@ -281,7 +282,8 @@ def default_request_params(): 'data': {}, 'url': '', 'cookies': {}, - 'verify': True + 'verify': True, + 'auth': None } |