From 6096457e4d42ab7d2338b89b49f76e6118c5202e Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sat, 30 Sep 2023 11:23:32 +0200 Subject: [PATCH] [fix] matrixrooms.info: pagination not working properly --- searx/engines/matrixrooms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/engines/matrixrooms.py b/searx/engines/matrixrooms.py index d10398204..06c4d99a9 100644 --- a/searx/engines/matrixrooms.py +++ b/searx/engines/matrixrooms.py @@ -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