.oO SearXNG Developer Documentation Oo.
|
Functions | |
_load (filename) | |
ahmia_blacklist_loader () | |
Variables | |
list | __all__ |
data_dir = Path(__file__).parent | |
CURRENCIES = _load('currencies.json') | |
USER_AGENTS = _load('useragents.json') | |
EXTERNAL_URLS = _load('external_urls.json') | |
WIKIDATA_UNITS = _load('wikidata_units.json') | |
EXTERNAL_BANGS = _load('external_bangs.json') | |
OSM_KEYS_TAGS = _load('osm_keys_tags.json') | |
ENGINE_DESCRIPTIONS = _load('engine_descriptions.json') | |
ENGINE_TRAITS = _load('engine_traits.json') | |
LOCALES = _load('locales.json') | |
This module holds the *data* created by:: make data.all
|
protected |
Definition at line 27 of file __init__.py.
searx.data.ahmia_blacklist_loader | ( | ) |
Load data from `ahmia_blacklist.txt` and return a list of MD5 values of onion names. The MD5 values are fetched by:: searxng_extra/update/update_ahmia_blacklist.py This function is used by :py:mod:`searx.plugins.ahmia_filter`.
Definition at line 32 of file __init__.py.
|
private |
Definition at line 8 of file __init__.py.
searx.data.CURRENCIES = _load('currencies.json') |
Definition at line 45 of file __init__.py.
searx.data.data_dir = Path(__file__).parent |
Definition at line 24 of file __init__.py.
searx.data.ENGINE_DESCRIPTIONS = _load('engine_descriptions.json') |
Definition at line 51 of file __init__.py.
searx.data.ENGINE_TRAITS = _load('engine_traits.json') |
Definition at line 52 of file __init__.py.
searx.data.EXTERNAL_BANGS = _load('external_bangs.json') |
Definition at line 49 of file __init__.py.
searx.data.EXTERNAL_URLS = _load('external_urls.json') |
Definition at line 47 of file __init__.py.
searx.data.LOCALES = _load('locales.json') |
Definition at line 53 of file __init__.py.
searx.data.OSM_KEYS_TAGS = _load('osm_keys_tags.json') |
Definition at line 50 of file __init__.py.
searx.data.USER_AGENTS = _load('useragents.json') |
Definition at line 46 of file __init__.py.
searx.data.WIKIDATA_UNITS = _load('wikidata_units.json') |
Definition at line 48 of file __init__.py.