[refactor] codeberg: use gitea engine

This commit is contained in:
Bnyro 2024-05-13 14:00:11 +02:00 committed by Markus Heiser
parent 82b6c0d05f
commit 645a840d82

View file

@ -801,26 +801,12 @@ engines:
engine: github engine: github
shortcut: gh 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 - name: codeberg
engine: json_engine # https://docs.searxng.org/dev/engines/online/gitea.html
search_url: https://codeberg.org/api/v1/repos/search?q={query}&limit=10 engine: gitea
url_query: html_url base_url: https://codeberg.org
title_query: name
content_query: description
categories: [it, repos]
shortcut: cb shortcut: cb
disabled: true 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 - name: gitea.com
engine: gitea engine: gitea