1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-19 19:00:10 +01:00

[fix] fix the about section of some engines

This commit is contained in:
Alexandre Flament 2021-09-18 11:02:39 +02:00
parent 636215b1f2
commit 8961131497
3 changed files with 13 additions and 3 deletions

View File

@ -12,6 +12,16 @@ from dateutil.parser import parse as dateparse
from lxml import html from lxml import html
from searx.utils import extract_text from searx.utils import extract_text
# about
about = {
"website": 'https://bandcamp.com/',
"wikidata_id": 'Q545966',
"official_api_documentation": 'https://bandcamp.com/developer',
"use_official_api": False,
"require_api_key": False,
"results": 'HTML',
}
categories = ['music'] categories = ['music']
paging = True paging = True

View File

@ -9,9 +9,9 @@ from searx.utils import searx_useragent
# about # about
about = { about = {
"website": 'https://photon.komoot.de', "website": 'https://photon.komoot.io',
"wikidata_id": None, "wikidata_id": None,
"official_api_documentation": 'https://photon.komoot.de/', "official_api_documentation": 'https://photon.komoot.io/',
"use_official_api": True, "use_official_api": True,
"require_api_key": False, "require_api_key": False,
"results": 'JSON', "results": 'JSON',

View File

@ -1618,7 +1618,7 @@ engines:
categories: general categories: general
about: about:
website: https://brave.com/search/ website: https://brave.com/search/
wikidata_id: Q22906900 wikidata_id: Q107355971
use_official_api: false use_official_api: false
require_api_key: false require_api_key: false
results: HTML results: HTML