Browse Source

[fix] matrixrooms.info: pagination not working properly

Bnyro 1 year ago
parent
commit
6096457e4d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      searx/engines/matrixrooms.py

+ 1 - 1
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