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:
parent
8aa018db95
commit
8c318562e2
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user