From 645a840d8211a016d808cf7da1ab62ff12d1db56 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Mon, 13 May 2024 14:00:11 +0200 Subject: [PATCH] [refactor] codeberg: use gitea engine --- searx/settings.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/searx/settings.yml b/searx/settings.yml index 35aa8cc6e..b5f1a2b36 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -801,26 +801,12 @@ engines: engine: github shortcut: gh - # This a Gitea service. If you would like to use a different instance, - # change codeberg.org to URL of the desired Gitea host. Or you can create a - # new engine by copying this and changing the name, shortcut and search_url. - - name: codeberg - engine: json_engine - search_url: https://codeberg.org/api/v1/repos/search?q={query}&limit=10 - url_query: html_url - title_query: name - content_query: description - categories: [it, repos] + # https://docs.searxng.org/dev/engines/online/gitea.html + engine: gitea + base_url: https://codeberg.org shortcut: cb disabled: true - about: - website: https://codeberg.org/ - wikidata_id: - official_api_documentation: https://try.gitea.io/api/swagger - use_official_api: false - require_api_key: false - results: JSON - name: gitea.com engine: gitea