.oO SearXNG Developer Documentation Oo.
|
Functions | |
get_node (external_bangs_db, bang) | |
get_bang_definition_and_ac (external_bangs_db, bang) | |
resolve_bang_definition (bang_definition, query) | |
get_bang_definition_and_autocomplete (bang, external_bangs_db=None) | |
get_bang_url (search_query, external_bangs_db=None) | |
Variables | |
LEAF_KEY = chr(16) | |
searx.external_bang.get_bang_definition_and_ac | ( | external_bangs_db, | |
bang ) |
Definition at line 23 of file external_bang.py.
References searx.external_bang.get_node().
Referenced by searx.external_bang.get_bang_definition_and_autocomplete(), and searx.external_bang.get_bang_url().
searx.external_bang.get_bang_definition_and_autocomplete | ( | bang, | |
external_bangs_db = None ) |
Definition at line 57 of file external_bang.py.
References searx.external_bang.get_bang_definition_and_ac(), and searx.external_bang.resolve_bang_definition().
searx.external_bang.get_bang_url | ( | search_query, | |
external_bangs_db = None ) |
Redirects if the user supplied a correct bang search. :param search_query: This is a search_query object which contains preferences and the submitted queries. :return: None if the bang was invalid, else a string of the redirect url.
Definition at line 84 of file external_bang.py.
References searx.external_bang.get_bang_definition_and_ac(), and searx.external_bang.resolve_bang_definition().
searx.external_bang.get_node | ( | external_bangs_db, | |
bang ) |
Definition at line 10 of file external_bang.py.
Referenced by searx.external_bang.get_bang_definition_and_ac().
searx.external_bang.resolve_bang_definition | ( | bang_definition, | |
query ) |
Definition at line 42 of file external_bang.py.
Referenced by searx.external_bang.get_bang_definition_and_autocomplete(), and searx.external_bang.get_bang_url().
searx.external_bang.LEAF_KEY = chr(16) |
Definition at line 7 of file external_bang.py.