summaryrefslogtreecommitdiff
path: root/searx/search/processors/abstract.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/search/processors/abstract.py')
-rw-r--r--searx/search/processors/abstract.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/searx/search/processors/abstract.py b/searx/search/processors/abstract.py
index d4822fc56..d74616db0 100644
--- a/searx/search/processors/abstract.py
+++ b/searx/search/processors/abstract.py
@@ -138,6 +138,13 @@ class EngineProcessor(ABC):
return False
def get_params(self, search_query, engine_category):
+ """Returns a set of *request params* or ``None`` if request is not supported.
+
+ Not supported conditions (``None`` is returned):
+
+ - A page-number > 1 when engine does not support paging.
+ - A time range when the engine does not support time range.
+ """
# if paging is not supported, skip
if search_query.pageno > 1 and not self.engine.paging:
return None