summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2023-09-30 11:23:32 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-09-30 14:51:07 +0200
commit6096457e4d42ab7d2338b89b49f76e6118c5202e (patch)
tree7137863aa824577a1577b19ea4dbfb1d91214572
parente1a8b8189f86d0d85f3d3a8a9c0eecd9e5032a30 (diff)
downloadsearxng-6096457e4d42ab7d2338b89b49f76e6118c5202e.tar.gz
searxng-6096457e4d42ab7d2338b89b49f76e6118c5202e.zip
[fix] matrixrooms.info: pagination not working properly
-rw-r--r--searx/engines/matrixrooms.py2
1 files changed, 1 insertions, 1 deletions
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