aboutsummaryrefslogtreecommitdiff
path: root/src/accuweather-com-fix/index.json
blob: 96339df1624baf99be1ea25f2878ca821a20c804 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// 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
}