forked from Icycoide/searxng
Merge pull request #2292 from kvch/elasticsearch-engine
New engine: Elasticsearch
This commit is contained in:
commit
c3d9b17c2a
3 changed files with 158 additions and 1 deletions
|
@ -126,7 +126,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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue