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