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.4/YouTube.request.js similarity index 100% rename from js/archive/YouTube.request.js rename to archive/js/v1.4/YouTube.request.js diff --git a/js/archive/YouTube.response.js b/archive/js/v1.4/YouTube.response.js similarity index 100% rename from js/archive/YouTube.response.js rename to archive/js/v1.4/YouTube.response.js diff --git a/modules/DualSubs.YouTube.srmodule b/modules/DualSubs.YouTube.srmodule index 2311a28..b89099a 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.4/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.4/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.4/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.4/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.4/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.4/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.4/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=