summaryrefslogtreecommitdiff
path: root/searx/engines/__init__.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2023-11-13 19:12:50 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-12-03 13:47:17 +0100
commit2274d55d5a4dea76b645e3495673545fea0fe529 (patch)
tree9bf3508dea187862996b6a44552182bc8c35e76e /searx/engines/__init__.py
parent1e0813fd3a217fd5f012e17f8fc1386a0a16bf5b (diff)
downloadsearxng-2274d55d5a4dea76b645e3495673545fea0fe529.tar.gz
searxng-2274d55d5a4dea76b645e3495673545fea0fe529.zip
[mod] add option max_page
Related: https://github.com/searxng/searxng/issues/2982 Closes: https://github.com/searxng/searxng/issues/2972 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/__init__.py')
-rw-r--r--searx/engines/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py
index da2b2037e..0bea37ca8 100644
--- a/searx/engines/__init__.py
+++ b/searx/engines/__init__.py
@@ -45,6 +45,7 @@ ENGINE_DEFAULT_ARGS = {
"using_tor_proxy": False,
"send_accept_language_header": False,
"tokens": [],
+ "max_page": 0,
}
# set automatically when an engine does not have any tab category
DEFAULT_CATEGORY = 'other'