mirror of
https://github.com/searxng/searxng.git
synced 2024-11-29 06:01:02 +00:00
Revert "[fix] limit maximum page number of a search query to page 50." (#2979)
This reverts commit 7e2e335dd1
.
This commit is contained in:
parent
d13a8f6453
commit
b5a8ddfec8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue