mirror of https://github.com/searxng/searxng.git
[fix] matrixrooms.info: pagination not working properly
This commit is contained in:
parent
e1a8b8189f
commit
6096457e4d
|
@ -22,7 +22,7 @@ page_size = 20
|
||||||
|
|
||||||
|
|
||||||
def request(query, params):
|
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
|
return params
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue