mirror of
https://github.com/searxng/searxng
synced 2024-10-30 21:20:28 +00:00
[refactor] codeberg: use gitea engine
This commit is contained in:
parent
f50e676c98
commit
999cf96dab
@ -800,26 +800,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
|
||||
|
Loading…
Reference in New Issue
Block a user