Revert "[fix] limit maximum page number of a search query to page 50." (#2979)

This reverts commit 7e2e335dd1e06ea20496028abe58b3ad8b255662.
This commit is contained in:
Markus Heiser 2023-11-01 17:55:20 +01:00 committed by MatthieuBarbu
parent d5ceb4c91b
commit 7a69d1a6ce

View File

@ -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)