[fix] matrixrooms.info: pagination not working properly

This commit is contained in:
Bnyro 2023-09-30 11:23:32 +02:00 committed by Markus Heiser
parent e1a8b8189f
commit 6096457e4d
1 changed files with 1 additions and 1 deletions

View File

@ -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