Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] matrixrooms.info: pagination not working properly

Bnyro6096457e4d42
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