summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/engines/solidtorrents.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/engines/solidtorrents.py b/searx/engines/solidtorrents.py
index 248716b2b..b933b568c 100644
--- a/searx/engines/solidtorrents.py
+++ b/searx/engines/solidtorrents.py
@@ -39,8 +39,7 @@ def request(query, params):
else:
params['base_url'] = base_url
search_url = params['base_url'] + '/search?{query}'
- page = (params['pageno'] - 1) * 20
- query = urlencode({'q': query, 'page': page})
+ query = urlencode({'q': query, 'page': params['pageno']})
params['url'] = search_url.format(query=query)
return params