From 8961131497ddb2655a0a749c2bd38b589d5c526f Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Sat, 18 Sep 2021 11:02:39 +0200 Subject: [PATCH] [fix] fix the about section of some engines --- searx/engines/bandcamp.py | 10 ++++++++++ searx/engines/photon.py | 4 ++-- searx/settings.yml | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/searx/engines/bandcamp.py b/searx/engines/bandcamp.py index dafb3ee16..62745243f 100644 --- a/searx/engines/bandcamp.py +++ b/searx/engines/bandcamp.py @@ -12,6 +12,16 @@ from dateutil.parser import parse as dateparse from lxml import html 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'] paging = True diff --git a/searx/engines/photon.py b/searx/engines/photon.py index 8c11c8ffb..f85dcad86 100644 --- a/searx/engines/photon.py +++ b/searx/engines/photon.py @@ -9,9 +9,9 @@ from searx.utils import searx_useragent # about about = { - "website": 'https://photon.komoot.de', + "website": 'https://photon.komoot.io', "wikidata_id": None, - "official_api_documentation": 'https://photon.komoot.de/', + "official_api_documentation": 'https://photon.komoot.io/', "use_official_api": True, "require_api_key": False, "results": 'JSON', diff --git a/searx/settings.yml b/searx/settings.yml index 55d8603a5..3fefb62fc 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1618,7 +1618,7 @@ engines: categories: general about: website: https://brave.com/search/ - wikidata_id: Q22906900 + wikidata_id: Q107355971 use_official_api: false require_api_key: false results: HTML