summaryrefslogtreecommitdiff
path: root/searx/enginelib/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/enginelib/__init__.py')
-rw-r--r--searx/enginelib/__init__.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/searx/enginelib/__init__.py b/searx/enginelib/__init__.py
index 00962e215..fd3019e6c 100644
--- a/searx/enginelib/__init__.py
+++ b/searx/enginelib/__init__.py
@@ -17,7 +17,7 @@
from __future__ import annotations
-from typing import Union, Dict, List, Callable, TYPE_CHECKING
+from typing import List, Callable, TYPE_CHECKING
if TYPE_CHECKING:
from searx.enginelib import traits
@@ -134,3 +134,15 @@ class Engine: # pylint: disable=too-few-public-methods
require_api_key: true
results: HTML
"""
+
+ using_tor_proxy: bool
+ """Using tor proxy (``true``) or not (``false``) for this engine."""
+
+ send_accept_language_header: bool
+ """When this option is activated, the language (locale) that is selected by
+ the user is used to build and send a ``Accept-Language`` header in the
+ request to the origin search engine."""
+
+ tokens: List[str]
+ """A list of secret tokens to make this engine *private*, more details see
+ :ref:`private engines`."""