summaryrefslogtreecommitdiff
path: root/searx/data/__init__.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-09-18 10:59:56 +0200
committerAlexandre Flament <alex@al-f.net>2021-09-24 20:20:30 +0200
commitbfd24d1226ccdd1a9c7b07ff240a2198ab4d655b (patch)
treed27dc2dd80594a67dbff7accfff797c748afa481 /searx/data/__init__.py
parentf8d5fe0f1133ad07c7170e1f5662390ad4299e79 (diff)
downloadsearxng-bfd24d1226ccdd1a9c7b07ff240a2198ab4d655b.tar.gz
searxng-bfd24d1226ccdd1a9c7b07ff240a2198ab4d655b.zip
[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
Diffstat (limited to 'searx/data/__init__.py')
-rw-r--r--searx/data/__init__.py2
1 files changed, 2 insertions, 0 deletions
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')