From bfd24d1226ccdd1a9c7b07ff240a2198ab4d655b Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Sat, 18 Sep 2021 10:59:56 +0200 Subject: [mod] add /engine_descriptions.json endpoint returns engine descriptions (JSON): * key: engine name * value: description in the user locale, use English description as a fallback --- searx/data/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'searx/data/__init__.py') diff --git a/searx/data/__init__.py b/searx/data/__init__.py index 0f40355ec..9c9d74129 100644 --- a/searx/data/__init__.py +++ b/searx/data/__init__.py @@ -14,6 +14,7 @@ __all__ = [ 'WIKIDATA_UNITS', 'EXTERNAL_BANGS', 'OSM_KEYS_TAGS', + 'ENGINE_DESCRIPTIONS', 'ahmia_blacklist_loader', ] @@ -45,3 +46,4 @@ 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') -- cgit v1.2.3