.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
command.py File Reference

Go to the source code of this file.

Namespaces

namespace  searx
 
namespace  searx.engines
 ::1337x
 
namespace  searx.engines.command
 

Functions

 searx.engines.command.init (engine_settings)
 
 searx.engines.command.search (query, params)
 
 searx.engines.command._get_command_to_run (query)
 
 searx.engines.command._get_results_from_process (results, cmd, pageno)
 
 searx.engines.command.__get_results_limits (pageno)
 
 searx.engines.command.__check_query_params (params)
 
 searx.engines.command.check_parsing_options (engine_settings)
 
 searx.engines.command.__parse_single_result (raw_result)
 

Variables

str searx.engines.command.engine_type = 'offline'
 
bool searx.engines.command.paging = True
 
list searx.engines.command.command = []
 
dict searx.engines.command.delimiter = {}
 
dict searx.engines.command.parse_regex = {}
 
str searx.engines.command.query_type = ''
 
list searx.engines.command.query_enum = []
 
dict searx.engines.command.environment_variables = {}
 
 searx.engines.command.working_dir = realpath('.')
 
str searx.engines.command.result_separator = '\n'
 
str searx.engines.command.result_template = 'key-value.html'
 
float searx.engines.command.timeout = 4.0
 
 searx.engines.command._command_logger = logger.getChild('command')
 
dict searx.engines.command._compiled_parse_regex = {}