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": "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
}