mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
[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 process_callback(response, **kwargs):
|
||||
cb_res = []
|
||||
response.request_params = params
|
||||
response.search_params = params
|
||||
for result in callback(response):
|
||||
result['engine'] = engine_name
|
||||
cb_res.append(result)
|
||||
|
Loading…
Reference in New Issue
Block a user