jan: add more redirections for youtube

This commit is contained in:
Dmitriy Pleshevskiy 2024-03-19 15:54:34 +03:00
parent 4d81e52098
commit 69e85df884
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -1,6 +1,6 @@
{ {
"createdBy": "Redirector v3.5.3", "createdBy": "Redirector v3.5.3",
"createdAt": "2024-01-19T08:54:37.365Z", "createdAt": "2024-03-19T12:51:41.662Z",
"redirects": [ "redirects": [
{ {
"description": "home youtube.com/youtu.be -> individous", "description": "home youtube.com/youtu.be -> individous",
@ -53,6 +53,23 @@
"main_frame" "main_frame"
] ]
}, },
{
"description": "youtube.com/shorts -> individous",
"exampleUrl": "https://www.youtube.com/shorts/jQkhyLSqlLg",
"exampleResult": "https://yt.cdaut.de/watch?v=jQkhyLSqlLg",
"error": null,
"includePattern": "https://(?:www\\.)?youtube\\.com/shorts/([\\w-]+)(&.*)?",
"excludePattern": "",
"patternDesc": "get video id from url",
"redirectUrl": "https://yt.cdaut.de/watch?v=$1",
"patternType": "R",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
},
{ {
"description": "youtube.com/live -> individous", "description": "youtube.com/live -> individous",
"exampleUrl": "https://www.youtube.com/live/jQ-KdWyzKfE", "exampleUrl": "https://www.youtube.com/live/jQ-KdWyzKfE",
@ -69,6 +86,23 @@
"appliesTo": [ "appliesTo": [
"main_frame" "main_frame"
] ]
},
{
"description": "youtube.com/channel -> individous",
"exampleUrl": "https://www.youtube.com/@KdWyzKfE",
"exampleResult": "https://yt.cdaut.de/@KdWyzKfE",
"error": null,
"includePattern": "https://(?:www\\.)?youtube\\.com/(@[\\w-]+)(\\?.*)?",
"excludePattern": "",
"patternDesc": "get channel name from url",
"redirectUrl": "https://yt.cdaut.de/$1",
"patternType": "R",
"processMatches": "noProcessing",
"disabled": false,
"grouped": false,
"appliesTo": [
"main_frame"
]
} }
] ]
} }