summaryrefslogtreecommitdiff
path: root/searx/webadapter.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2023-11-01 17:55:20 +0100
committerGitHub <noreply@github.com>2023-11-01 16:55:20 +0000
commitb5a8ddfec8622fcd7ca008bf4024223038382af5 (patch)
tree0db822a95ccae67e2706d7283ce8ae2f8857f1ef /searx/webadapter.py
parentd13a8f64534b2ba7883cabdae1d08ea68b7899c8 (diff)
downloadsearxng-b5a8ddfec8622fcd7ca008bf4024223038382af5.tar.gz
searxng-b5a8ddfec8622fcd7ca008bf4024223038382af5.zip
Revert "[fix] limit maximum page number of a search query to page 50." (#2979)
This reverts commit 7e2e335dd1e06ea20496028abe58b3ad8b255662.
Diffstat (limited to 'searx/webadapter.py')
-rw-r--r--searx/webadapter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/webadapter.py b/searx/webadapter.py
index 967ed4429..9fbb8ea3e 100644
--- a/searx/webadapter.py
+++ b/searx/webadapter.py
@@ -45,7 +45,7 @@ def validate_engineref_list(
def parse_pageno(form: Dict[str, str]) -> int:
pageno_param = form.get('pageno', '1')
- if not pageno_param.isdigit() or int(pageno_param) < 1 or int(pageno_param) > 50:
+ if not pageno_param.isdigit() or int(pageno_param) < 1:
raise SearxParameterException('pageno', pageno_param)
return int(pageno_param)