forked from zaclys/searxng
[mod] var rename
This commit is contained in:
parent
34bdeda6d4
commit
89b68242d3
|
@ -75,7 +75,7 @@ def default_request_params():
|
||||||
def make_callback(engine_name, results, callback, params):
|
def make_callback(engine_name, results, callback, params):
|
||||||
def process_callback(response, **kwargs):
|
def process_callback(response, **kwargs):
|
||||||
cb_res = []
|
cb_res = []
|
||||||
response.request_params = params
|
response.search_params = params
|
||||||
for result in callback(response):
|
for result in callback(response):
|
||||||
result['engine'] = engine_name
|
result['engine'] = engine_name
|
||||||
cb_res.append(result)
|
cb_res.append(result)
|
||||||
|
|
Loading…
Reference in New Issue