diff options
Diffstat (limited to 'src/accuweather-com-fix/index.json')
-rw-r--r-- | src/accuweather-com-fix/index.json | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/accuweather-com-fix/index.json b/src/accuweather-com-fix/index.json new file mode 100644 index 0000000..17af152 --- /dev/null +++ b/src/accuweather-com-fix/index.json @@ -0,0 +1,35 @@ +// SPDX-License-Identifier: CC0-1.0 + +// Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org> +// Available under the terms of Creative Commons Zero v1.0 Universal. + +{ + "$schema": "https://hydrilla.koszko.org/schemas/package_source-2.schema.json", + "source_name": "accuweather-com-fix", + "copyright": [ + {"file": "report.spdx"}, + {"file": "LICENSES/Apache-2.0.txt"}, + {"file": "LICENSES/CC0-1.0.txt"} + ], + "upstream_url": "https://git.koszko.org/hydrilla-fixes-bundle/tree/src/accuweather-com-fix", + "definitions": [{ + "type": "mapping_and_resource", + "identifier": "accuweather-com-fix", + "long_name": "AccuWeather display fix", + "version": [2022, 2, 18], + "revision": 2, + "description": "Make accuweather.com display its contents without relying on site-served JavaScript.", + "dependencies": [], + "scripts": [{"file": "accuweather.js"}], + "payloads": { + // * https://www.accuweather.com/en/pl/krakow/2-274455_1_al/weather-forecast/2-274455_1_al + // * https://www.accuweather.com/en/us/new-york/10007/weather-forecast/349727 + // Or just go https://www.accuweather.com/en/search-locations?query=<NAME_OF_SOME_CITY> + // and select a city from the list. + "https://www.accuweather.com/***": { + "identifier": "accuweather-com-fix" + } + } + }], + "reuse_generate_spdx_report": true +} |