diff options
author | Justas Zabulionis <38244149+jazzzooo@users.noreply.github.com> | 2023-09-14 00:33:05 -0700 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-09-14 18:03:21 +0200 |
commit | cf8a6cf6dbf4082b6cd98e465ea73eba7ee0986e (patch) | |
tree | bf56a8940cb5b40c30fedd027eec737d41e8a1c9 /searx | |
parent | 8172f89075eab498ca8ee043150a1820442b2ecb (diff) | |
download | searxng-cf8a6cf6dbf4082b6cd98e465ea73eba7ee0986e.tar.gz searxng-cf8a6cf6dbf4082b6cd98e465ea73eba7ee0986e.zip |
[fix] solidtorrents pagination
Diffstat (limited to 'searx')
-rw-r--r-- | searx/engines/solidtorrents.py | 3 |
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 |