Search processors
Abstract base classes for engine request processores.
-
class searx.search.processors.abstract.EngineProcessor(engine, engine_name: str)[source]
Base classes used for all types of reqest processores.
-
get_params(search_query, engine_category)[source]
Returns a set of (see request params) or
None
if request is not supported.
Not supported conditions (None
is returned):
-
class searx.search.processors.abstract.SuspendedStatus[source]
Class to handle suspend state.
Processores for engine-type: offline
-
class searx.search.processors.offline.OfflineProcessor(engine, engine_name: str)[source]
Processor class used by offline
engines
Processores for engine-type: online
-
class searx.search.processors.online.OnlineProcessor(engine, engine_name: str)[source]
Processor class for online
engines.
-
get_params(search_query, engine_category)[source]
Returns a set of request params or None
if request is not supported.
-
searx.search.processors.online.default_request_params()[source]
Default request parameters for online
engines.
Processores for engine-type: online_currency
-
class searx.search.processors.online_currency.OnlineCurrencyProcessor(engine, engine_name: str)[source]
Processor class used by online_currency
engines.
-
get_params(search_query, engine_category)[source]
Returns a set of request params
or None
if search query does not match to parser_re
.
Processores for engine-type: online_dictionary
-
class searx.search.processors.online_dictionary.OnlineDictionaryProcessor(engine, engine_name: str)[source]
Processor class used by online_dictionary
engines.
-
get_params(search_query, engine_category)[source]
Returns a set of request params or
None
if search query does not match to parser_re
.
Processores for engine-type: online_url_search
-
class searx.search.processors.online_url_search.OnlineUrlSearchProcessor(engine, engine_name: str)[source]
Processor class used by online_url_search
engines.
-
get_params(search_query, engine_category)[source]
Returns a set of request params or None
if
search query does not match to re_search_urls
.