Search processors
Abstract base classes for engine request processors.
-
class searx.search.processors.abstract.EngineProcessor(engine, engine_name: str)[source]
Base classes used for all types of request processors.
-
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.
Processors for engine-type: offline
-
class searx.search.processors.offline.OfflineProcessor(engine, engine_name: str)[source]
Processor class used by offline
engines
Processors 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.
Processors 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
.
Processors 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
.
Processors 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
.