mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
WIP
This commit is contained in:
parent
356cff0692
commit
3a8f29dee0
1 changed files with 2 additions and 2 deletions
|
@ -37,11 +37,11 @@ about = {
|
|||
categories = ['general']
|
||||
paging = True
|
||||
|
||||
URL = 'https://www.onesearch.com/yhs/search;?p=%s&b=%d'
|
||||
URL = 'https://www.onesearch.com/yhs/search;?p=%s&b=%d&intl=%s'
|
||||
|
||||
def request(query, params):
|
||||
starting_from = (params['pageno'] * 10) - 9
|
||||
params['url'] = URL % (query, starting_from)
|
||||
params['url'] = URL % (query, starting_from, params['language'][:2])
|
||||
return params
|
||||
|
||||
def response(resp):
|
||||
|
|
Loading…
Add table
Reference in a new issue