mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
Fix test
This commit is contained in:
parent
0549fb40d2
commit
a320328dda
@ -8,11 +8,13 @@ search_url = url + 'search/{search_term}/{pageno}/'
|
|||||||
categories = ['videos', 'music', 'files']
|
categories = ['videos', 'music', 'files']
|
||||||
paging = True
|
paging = True
|
||||||
|
|
||||||
|
|
||||||
def request(query, params):
|
def request(query, params):
|
||||||
params['url'] = search_url.format(search_term=quote(query), pageno=params['pageno'])
|
params['url'] = search_url.format(search_term=quote(query), pageno=params['pageno'])
|
||||||
|
|
||||||
return params
|
return params
|
||||||
|
|
||||||
|
|
||||||
def response(resp):
|
def response(resp):
|
||||||
results = []
|
results = []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user