aboutsummaryrefslogtreecommitdiff
// 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/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, 6, 30],
	"revision":     1,
	"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
}