mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 12:10:11 +01: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