summaryrefslogtreecommitdiff
path: root/searx/search.py
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2020-10-09 15:05:13 +0200
committerNoémi Ványi <sitbackandwait@gmail.com>2020-10-09 15:06:05 +0200
commit72c7fd25fe1f49d27ce7725bb50eaee58d7e009f (patch)
tree158ddd90c1a37ac756edfea278e2a44c498e15e9 /searx/search.py
parenta05c660e3036ad8d02072fc6731af54c2ed6151c (diff)
downloadsearxng-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.py6
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
}