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

add description and wikidata ID to wttr.in engine

This commit is contained in:
liimee 2022-08-07 14:57:10 +07:00 committed by GitHub
parent 8aa018db95
commit 8c318562e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-or-later # SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint # lint: pylint
"""wttr.in""" """wttr.in (weather forecast service)"""
from json import loads from json import loads
from urllib.parse import quote from urllib.parse import quote
@ -8,7 +8,7 @@ from flask_babel import gettext
about = { about = {
"website": "https://wttr.in", "website": "https://wttr.in",
"wikidata_id": None, "wikidata_id": "Q107586666",
"official_api_documentation": "https://github.com/chubin/wttr.in#json-output", "official_api_documentation": "https://github.com/chubin/wttr.in#json-output",
"use_official_api": True, "use_official_api": True,
"require_api_key": False, "require_api_key": False,