From f9f3d089ec78c2b3a165ac8a386c5d2eab3fb8eb Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Wed, 24 Jun 2026 10:45:40 +0200 Subject: [PATCH] [fix] engine anaconda - add missing about configuration (#6308) Signed-off-by: Markus Heiser --- searx/enginelib/__init__.py | 4 ++-- searx/settings.yml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/searx/enginelib/__init__.py b/searx/enginelib/__init__.py index 1fdcbe6e2..ed33bffd1 100644 --- a/searx/enginelib/__init__.py +++ b/searx/enginelib/__init__.py @@ -207,6 +207,7 @@ class EngineAbout(msgspec.Struct, kw_only=True): use_official_api: bool = False """SearXNG engine makes use of the official API or not""" + require_api_key: bool = False """API requires a key or not.""" @@ -217,8 +218,7 @@ class EngineAbout(msgspec.Struct, kw_only=True): """Brief description of the engine and where it gets its data from. This value should only be set as long as no description of the data source - is available via a :py:obj:`EngineAbout.wikidata_id`. - """ + is available via a :py:obj:`EngineAbout.wikidata_id`.""" language: str = "" """Deprecated! Migrate your setting from `engine.about.language` to diff --git a/searx/settings.yml b/searx/settings.yml index a208bcfc5..0afd2abc8 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -443,6 +443,12 @@ engines: timeout: 6.0 shortcut: conda disabled: true + about: + website: https://anaconda.org/search + wikidata_id: Q18209310 + official_api_documentation: https://api.anaconda.org/search + use_official_api: false + results: HTML - name: arch linux wiki engine: archlinux