summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
Diffstat (limited to 'searx')
-rwxr-xr-xsearx/webapp.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 099a42996..7e351bfaa 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -1170,6 +1170,13 @@ def engine_descriptions():
if isinstance(description, str):
description = [description, 'wikipedia']
result[engine] = description
+
+ # overwrite by about:description (from settings)
+ for engine_name, engine_mod in engines.items():
+ descr = getattr(engine_mod, 'about', {}).get('description', None)
+ if descr is not None:
+ result[engine_name] = [descr, "SearXNG config"]
+
return jsonify(result)