Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[enh] settings.yml: allow granular overwrites for about

Martin Fischerdf34b1ddcf02
diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py
index a3dd7a95a..1fc01600a 100644
--- a/searx/engines/__init__.py
+++ b/searx/engines/__init__.py
@@ -138,6 +138,8 @@ def update_engine_attributes(engine, engine_data):
if isinstance(param_value, str):
param_value = list(map(str.strip, param_value.split(',')))
engine.categories = param_value
+ elif hasattr(engine, 'about') and param_name == 'about':
+ engine.about = {**engine.about, **engine_data['about']}
else:
setattr(engine, param_name, param_value)