From 0a3f275f2eb4bb8253e75be4a10538a27a397230 Mon Sep 17 00:00:00 2001 From: Virgil Clyne Date: Fri, 18 Oct 2024 11:16:05 +0800 Subject: [PATCH] fix: srmodule --- .../js}/v0.3/DualSubs.YouTube.Player.beta.js | 0 .../js}/v0.3/DualSubs.YouTube.Player.js | 0 .../js}/v0.3/DualSubs.YouTube.TimedText.beta.js | 0 .../js}/v0.3/DualSubs.YouTube.TimedText.js | 0 .../DualSubs.YouTube.TimedText.request.beta.js | 0 .../v0.9/DualSubs.YouTube.TimedText.request.js | 0 .../js}/v1.2/DualSubs.YouTube.request.beta.js | 0 .../js}/v1.2/DualSubs.YouTube.request.js | 0 .../js}/v1.2/DualSubs.YouTube.response.beta.js | 0 .../js}/v1.2/DualSubs.YouTube.response.js | 0 .../js/v1.3}/YouTube.request.js | 0 .../js/v1.3}/YouTube.response.js | 0 modules/DualSubs.YouTube.srmodule | 15 ++++++++------- 13 files changed, 8 insertions(+), 7 deletions(-) rename {js/archive => archive/js}/v0.3/DualSubs.YouTube.Player.beta.js (100%) rename {js/archive => archive/js}/v0.3/DualSubs.YouTube.Player.js (100%) rename {js/archive => archive/js}/v0.3/DualSubs.YouTube.TimedText.beta.js (100%) rename {js/archive => archive/js}/v0.3/DualSubs.YouTube.TimedText.js (100%) rename {js/archive => archive/js}/v0.9/DualSubs.YouTube.TimedText.request.beta.js (100%) rename {js/archive => archive/js}/v0.9/DualSubs.YouTube.TimedText.request.js (100%) rename {js/archive => archive/js}/v1.2/DualSubs.YouTube.request.beta.js (100%) rename {js/archive => archive/js}/v1.2/DualSubs.YouTube.request.js (100%) rename {js/archive => archive/js}/v1.2/DualSubs.YouTube.response.beta.js (100%) rename {js/archive => archive/js}/v1.2/DualSubs.YouTube.response.js (100%) rename {js/archive => archive/js/v1.3}/YouTube.request.js (100%) rename {js/archive => archive/js/v1.3}/YouTube.response.js (100%) diff --git a/js/archive/v0.3/DualSubs.YouTube.Player.beta.js b/archive/js/v0.3/DualSubs.YouTube.Player.beta.js similarity index 100% rename from js/archive/v0.3/DualSubs.YouTube.Player.beta.js rename to archive/js/v0.3/DualSubs.YouTube.Player.beta.js diff --git a/js/archive/v0.3/DualSubs.YouTube.Player.js b/archive/js/v0.3/DualSubs.YouTube.Player.js similarity index 100% rename from js/archive/v0.3/DualSubs.YouTube.Player.js rename to archive/js/v0.3/DualSubs.YouTube.Player.js diff --git a/js/archive/v0.3/DualSubs.YouTube.TimedText.beta.js b/archive/js/v0.3/DualSubs.YouTube.TimedText.beta.js similarity index 100% rename from js/archive/v0.3/DualSubs.YouTube.TimedText.beta.js rename to archive/js/v0.3/DualSubs.YouTube.TimedText.beta.js diff --git a/js/archive/v0.3/DualSubs.YouTube.TimedText.js b/archive/js/v0.3/DualSubs.YouTube.TimedText.js similarity index 100% rename from js/archive/v0.3/DualSubs.YouTube.TimedText.js rename to archive/js/v0.3/DualSubs.YouTube.TimedText.js diff --git a/js/archive/v0.9/DualSubs.YouTube.TimedText.request.beta.js b/archive/js/v0.9/DualSubs.YouTube.TimedText.request.beta.js similarity index 100% rename from js/archive/v0.9/DualSubs.YouTube.TimedText.request.beta.js rename to archive/js/v0.9/DualSubs.YouTube.TimedText.request.beta.js diff --git a/js/archive/v0.9/DualSubs.YouTube.TimedText.request.js b/archive/js/v0.9/DualSubs.YouTube.TimedText.request.js similarity index 100% rename from js/archive/v0.9/DualSubs.YouTube.TimedText.request.js rename to archive/js/v0.9/DualSubs.YouTube.TimedText.request.js diff --git a/js/archive/v1.2/DualSubs.YouTube.request.beta.js b/archive/js/v1.2/DualSubs.YouTube.request.beta.js similarity index 100% rename from js/archive/v1.2/DualSubs.YouTube.request.beta.js rename to archive/js/v1.2/DualSubs.YouTube.request.beta.js diff --git a/js/archive/v1.2/DualSubs.YouTube.request.js b/archive/js/v1.2/DualSubs.YouTube.request.js similarity index 100% rename from js/archive/v1.2/DualSubs.YouTube.request.js rename to archive/js/v1.2/DualSubs.YouTube.request.js diff --git a/js/archive/v1.2/DualSubs.YouTube.response.beta.js b/archive/js/v1.2/DualSubs.YouTube.response.beta.js similarity index 100% rename from js/archive/v1.2/DualSubs.YouTube.response.beta.js rename to archive/js/v1.2/DualSubs.YouTube.response.beta.js diff --git a/js/archive/v1.2/DualSubs.YouTube.response.js b/archive/js/v1.2/DualSubs.YouTube.response.js similarity index 100% rename from js/archive/v1.2/DualSubs.YouTube.response.js rename to archive/js/v1.2/DualSubs.YouTube.response.js diff --git a/js/archive/YouTube.request.js b/archive/js/v1.3/YouTube.request.js similarity index 100% rename from js/archive/YouTube.request.js rename to archive/js/v1.3/YouTube.request.js diff --git a/js/archive/YouTube.response.js b/archive/js/v1.3/YouTube.response.js similarity index 100% rename from js/archive/YouTube.response.js rename to archive/js/v1.3/YouTube.response.js diff --git a/modules/DualSubs.YouTube.srmodule b/modules/DualSubs.YouTube.srmodule index 2311a28..f9b1863 100644 --- a/modules/DualSubs.YouTube.srmodule +++ b/modules/DualSubs.YouTube.srmodule @@ -5,23 +5,24 @@ #!homepage = https://DualSubs.github.io/guide/youtube #!icon = https://github.com/DualSubs/YouTube/raw/main/src/assets/icon_rounded.png #!category = 🍿️ DualSubs +#!version = 1.3.4 [Rule] URL-REGEX,^https?:\/\/([\w-]+)\.googlevideo\.com\/initplayback(\?.*oad=.+)$,REJECT-TINYGIF [Script] # YouTube -DualSubs.YouTube.Player.request.json = type=http-request, pattern=^https?:\/\/(www|m|tv)\.youtube\.com\/youtubei\/v1\/player(\?.+)?$, requires-body=1, script-path=https://raw.githubusercontent.com/DualSubs/YouTube/main/js/archive/YouTube.request.js, argument= -DualSubs.YouTube.Player.response.json = type=http-response, pattern=^https?:\/\/(www|m|tv)\.youtube\.com\/youtubei\/v1\/player(\?.+)?$, requires-body=1, script-path=https://raw.githubusercontent.com/DualSubs/YouTube/main/js/archive/YouTube.response.js, argument= -DualSubs.YouTube.Player.request.proto = type=http-request, pattern=^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/player(\?.+)?$, requires-body=1, binary-body-mode=1, script-path=https://raw.githubusercontent.com/DualSubs/YouTube/main/js/archive/YouTube.request.js, argument= -DualSubs.YouTube.Player.response.proto = type=http-response, pattern=^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/player(\?.+)?$, requires-body=1, binary-body-mode=1, script-path=https://raw.githubusercontent.com/DualSubs/YouTube/main/js/archive/YouTube.response.js, argument= -DualSubs.YouTube.TimedText.request = type=http-request, pattern=^https?:\/\/(www|m)\.youtube\.com\/api\/timedtext(\?.+)?$, requires-body=0, script-path=https://raw.githubusercontent.com/DualSubs/YouTube/main/js/archive/YouTube.request.js, argument= +DualSubs.YouTube.Player.request.json = type=http-request, pattern=^https?:\/\/(www|m|tv)\.youtube\.com\/youtubei\/v1\/player(\?.+)?$, requires-body=1, script-path=https://raw.githubusercontent.com/DualSubs/YouTube/main/archive/js/v1.3/YouTube.request.js, argument= +DualSubs.YouTube.Player.response.json = type=http-response, pattern=^https?:\/\/(www|m|tv)\.youtube\.com\/youtubei\/v1\/player(\?.+)?$, requires-body=1, script-path=https://raw.githubusercontent.com/DualSubs/YouTube/main/archive/js/v1.3/YouTube.response.js, argument= +DualSubs.YouTube.Player.request.proto = type=http-request, pattern=^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/player(\?.+)?$, requires-body=1, binary-body-mode=1, script-path=https://raw.githubusercontent.com/DualSubs/YouTube/main/archive/js/v1.3/YouTube.request.js, argument= +DualSubs.YouTube.Player.response.proto = type=http-response, pattern=^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/player(\?.+)?$, requires-body=1, binary-body-mode=1, script-path=https://raw.githubusercontent.com/DualSubs/YouTube/main/archive/js/v1.3/YouTube.response.js, argument= +DualSubs.YouTube.TimedText.request = type=http-request, pattern=^https?:\/\/(www|m)\.youtube\.com\/api\/timedtext(\?.+)?$, requires-body=0, script-path=https://raw.githubusercontent.com/DualSubs/YouTube/main/archive/js/v1.3/YouTube.request.js, argument= DualSubs.YouTube.Composite.TimedText.response = type=http-response, pattern=^https?:\/\/(www|m)\.youtube\.com\/api\/timedtext\?(.*)subtype=(Official|External), requires-body=1, script-path=https://raw.githubusercontent.com/DualSubs/Universal/main/js/Composite.Subtitles.response.js, argument= DualSubs.YouTube.Translate.TimedText.response = type=http-response, pattern=^https?:\/\/(www|m)\.youtube\.com\/api\/timedtext\?(.*)subtype=Translate, requires-body=1, script-path=https://raw.githubusercontent.com/DualSubs/Universal/main/js/Translate.response.js, argument= # YouTube Music -DualSubs.YouTubeMusic.Browse.request.json = type=http-request, pattern=^https?:\/\/music\.youtube\.com\/youtubei\/v1\/browse(\?.+)?$, requires-body=1, script-path=https://raw.githubusercontent.com/DualSubs/YouTube/main/js/archive/YouTube.request.js, argument= -DualSubs.YouTube.Browse.request.proto = type=http-request, pattern=^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/browse(\?.+)?$, requires-body=1, binary-body-mode=1, script-path=https://raw.githubusercontent.com/DualSubs/YouTube/main/js/archive/YouTube.request.js, argument= +DualSubs.YouTubeMusic.Browse.request.json = type=http-request, pattern=^https?:\/\/music\.youtube\.com\/youtubei\/v1\/browse(\?.+)?$, requires-body=1, script-path=https://raw.githubusercontent.com/DualSubs/YouTube/main/archive/js/v1.3/YouTube.request.js, argument= +DualSubs.YouTube.Browse.request.proto = type=http-request, pattern=^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/browse(\?.+)?$, requires-body=1, binary-body-mode=1, script-path=https://raw.githubusercontent.com/DualSubs/YouTube/main/archive/js/v1.3/YouTube.request.js, argument= DualSubs.YouTubeMusic.Translate.Lyrics.response.json = type=http-response, pattern=^https?:\/\/music\.youtube\.com\/youtubei\/v1\/browse\?(.*)subtype=Translate, requires-body=1, script-path=https://raw.githubusercontent.com/DualSubs/Universal/main/js/Translate.response.js, argument= DualSubs.YouTubeMusic.Translate.Lyrics.response.proto = type=http-response, pattern=^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/browse\?(.*)subtype=Translate, requires-body=1, binary-body-mode=1, script-path=https://raw.githubusercontent.com/DualSubs/Universal/main/js/Translate.response.js, argument=