From 69e85df884838e464dab1a08c1d53064c1097f72 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 19 Mar 2024 15:54:34 +0300 Subject: [PATCH] jan: add more redirections for youtube --- home/users/jan/browser/Redirector.json | 36 +++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/home/users/jan/browser/Redirector.json b/home/users/jan/browser/Redirector.json index 84bfc28..8e4cd32 100644 --- a/home/users/jan/browser/Redirector.json +++ b/home/users/jan/browser/Redirector.json @@ -1,6 +1,6 @@ { "createdBy": "Redirector v3.5.3", - "createdAt": "2024-01-19T08:54:37.365Z", + "createdAt": "2024-03-19T12:51:41.662Z", "redirects": [ { "description": "home youtube.com/youtu.be -> individous", @@ -53,6 +53,23 @@ "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", "exampleUrl": "https://www.youtube.com/live/jQ-KdWyzKfE", @@ -69,6 +86,23 @@ "appliesTo": [ "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" + ] } ] } \ No newline at end of file