summaryrefslogtreecommitdiff
path: root/searx/search.py
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2020-10-23 20:19:48 +0200
committerNoémi Ványi <sitbackandwait@gmail.com>2020-11-10 19:53:38 +0100
commit43e697681efbe7856abe21e6abdac7694447cae8 (patch)
treed85400257041aff9342afde6529331f49be593e5 /searx/search.py
parentaa6eaf603ff9b403dcc32adadbb1e75445f0348c (diff)
New engine: Elasticsearch
Diffstat (limited to 'searx/search.py')
-rw-r--r--searx/search.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/search.py b/searx/search.py
index cd195825a..9a1ed1e4a 100644
--- a/searx/search.py
+++ b/searx/search.py
@@ -110,7 +110,8 @@ def send_http_request(engine, request_params):
req = requests_lib.get
else:
req = requests_lib.post
- request_args['data'] = request_params['data']
+
+ request_args['data'] = request_params['data']
# send the request
return req(request_params['url'], **request_args)