aboutsummaryrefslogtreecommitdiff
path: root/src/youtube-com-redirect-yewtube/index.json
blob: 47ce64936d31f8f48ef0fc0d32783d43ca682efe (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
// 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": "youtube-com-redirect-yewtube",
    "copyright":  [
	{"file": "report.spdx"},
	{"file": "LICENSES/CC0-1.0.txt"}
    ],
    "upstream_url": "https://git.koszko.org/hydrilla-fixes-bundle/tree/src/youtube-com-redirect-yewtube",
    "definitions": [{
	"type":         "mapping_and_resource",
	"identifier":   "yewtube-com-redirect-yewtube",
	"long_name":    "youtube.com -> yewtu.be redirector",
	"version":      [2022, 2, 18],
	"revision":     2,
	"description":  "Watch YouTube videos on yewtu.be instead.",
	"dependencies": [{"identifier": "yewtube-urls"}],
	"scripts":      [{"file": "youtube_yewtube_redirection.js"}],
	"payloads": {
	    // * https://youtube.com/watch?v=aqz-KE-bpKQ
	    // * https://www.youtube.com/embed/aqz-KE-bpKQ
	    "https://www.youtube.com/***": {
		"identifier": "yewtube-com-redirect-yewtube"
	    }
	}
    }],
    "reuse_generate_spdx_report": true
}