forked from zaclys/searxng
[fix] matrixrooms.info: pagination not working properly
This commit is contained in:
parent
cef109e0e0
commit
32e04f05bf
@ -22,7 +22,7 @@ page_size = 20
|
||||
|
||||
|
||||
def request(query, params):
|
||||
params['url'] = f"{base_url}/search/{quote_plus(query)}/{page_size}/{params['pageno']-1}"
|
||||
params['url'] = f"{base_url}/search/{quote_plus(query)}/{page_size}/{(params['pageno']-1)*page_size}"
|
||||
return params
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user