diff --git a/modules/Akamaized.sgmodule b/modules/Akamaized.sgmodule deleted file mode 100644 index b9c5151..0000000 --- a/modules/Akamaized.sgmodule +++ /dev/null @@ -1,17 +0,0 @@ -#!name=🍿️ DualSubs: ➕ AddOn (Akamaized) -#!desc=Akamaized 流媒体平台增强及双语字幕 -#!openUrl=http://boxjs.com/#/app/DualSubs.Translate -#!author=VirgilClyne[https://github.com/VirgilClyne] -#!homepage = https://DualSubs.github.io/guide/addon -#!icon=https://www.akamai.com/site/favicon/favicon-194x194.png -#!category=🍿️ DualSubs - -[Script] -DualSubs.Akamaized.M3U8.Master.response = type=http-response, pattern=^https?:\/\/(.+)\.akamaized\.net\/out\/v\d\/\w+\/index.m3u8, requires-body=1, script-path=https://github.com/DualSubs/Universal/releases/latest/download/Manifest.response.bundle.js -DualSubs.Akamaized.M3U8.Subtitles.response = type=http-response, pattern=^https?:\/\/(.+)\.akamaized\.net\/out\/v\d\/\w+\/index_(.+).m3u8\?(.*)subtype=, requires-body=1, script-path=https://github.com/DualSubs/Universal/releases/latest/download/Manifest.response.bundle.js -DualSubs.Akamaized.Composite.Subtitles.response = type=http-response, pattern=^https?:\/\/(.+)\.akamaized\.net\/out\/v\d\/\w+\/index_(.+).vtt\?(.*)subtype=(Official|External), requires-body=1, script-path=https://github.com/DualSubs/Universal/releases/latest/download/Composite.Subtitles.response.bundle.js -DualSubs.Akamaized.Translate.Subtitles.response = type=http-response, pattern=^https?:\/\/(.+)\.akamaized\.net\/out\/v\d\/\w+\/index_(.+).vtt\?(.*)subtype=Translate, requires-body=1, script-path=https://github.com/DualSubs/Universal/releases/latest/download/Translate.response.bundle.js - -[MITM] -hostname = %APPEND% abc-iview-mediapackagestreams-*.akamaized.net, mbc*-prod-dub-ak.akamaized.net, shls-mbcdramaksa-ak.akamaized.net, ssc-*-on-prem-ak.akamaized.net, ssc-*-ak.akamaized.net, delta45tatasky.akamaized.net, mwmpos*.akamaized.net -tcp-connection = true diff --git a/modules/DualSubs.AddOn.Akamaized.sgmodule b/modules/DualSubs.AddOn.Akamaized.sgmodule new file mode 100644 index 0000000..e36feca --- /dev/null +++ b/modules/DualSubs.AddOn.Akamaized.sgmodule @@ -0,0 +1,19 @@ +#!name=🍿️ DualSubs: ➕ AddOn (Akamaized) +#!desc=DualSubs 额外插件\nAkamaized 流媒体平台增强及双语字幕 +#!openUrl=http://boxjs.com/#/app/DualSubs.Translate +#!author=VirgilClyne[https://github.com/VirgilClyne] +#!homepage = https://DualSubs.github.io/guide/addon +#!icon=https://www.akamai.com/site/favicon/favicon-194x194.png +#!category=🍿️ DualSubs +#!arguments = Types:"Official,Translate",Languages[0]:"AUTO",Languages[1]:"ZH",Vendor:"Google",ShowOnly:false +#!arguments-desc = Types: [字幕] 启用类型\n ├ Official: 官方字幕(合成器)\n └ Translate: 翻译字幕(翻译器)\n请选择要添加的字幕选项,如果为标准播放器,则会在字幕选项中新增勾选字幕选项。\n\nLanguages[0]: [字幕] 主语言(源语言)\n ├ AUTO: 自动 - Automatic\n ├ ZH: 中文(自动)\n ├ ZH-HANS: 中文(简体)\n ├ ZH-HK: 中文(香港)\n ├ ZH-HANT: 中文(繁体)\n ├ EN: English - 英语(自动)\n ├ ES: Español - 西班牙语(自动)\n ├ JA: 日本語 - 日语\n ├ KO: 한국어 - 韩语\n ├ DE: Deutsch - 德语\n ├ FR: Français - 法语\n ├ TR: Türkçe - 土耳其语\n └ KM: ភាសាខ្មែរ - 高棉语\n当“主语言”字幕存在时,将生成“主语言/副语言(翻译)”与“主语言(外挂)”的字幕或字幕选项。\n\nLanguages[1]: [字幕] 副语言(目标语言)\n ├ ZH: 中文(自动)\n ├ ZH-HANS: 中文(简体)\n ├ ZH-HK: 中文(香港)\n ├ ZH-HANT: 中文(繁体)\n ├ EN: English - 英语(自动)\n ├ EN-US: 英语(美国)\n ├ ES: Español - 西班牙语(自动)\n ├ ES-ES: Español - 西班牙语\n ├ ES-419: 西班牙语(拉丁美洲)\n ├ JA: 日本語 - 日语\n ├ KO: 한국어 - 韩语\n ├ DE: Deutsch - 德语\n ├ FR: Français - 法语\n ├ TR: Türkçe - 土耳其语\n └ KM: ភាសាខ្មែរ - 高棉语\n当“副语言”字幕存在时,将生成“副语言/主语言(官方)”的字幕或字幕选项。\n\nVendor: [翻译器] 服务商API\n ├ Google: Google Translate\n └ Microsoft: Microsoft Translator(需填写API)\n请选择翻译器所使用的服务商API,更多翻译选项请使用BoxJs。\n\nShowOnly: [翻译器] 只显示翻译后字幕\n开启后仅显示翻译字幕,不做字幕合并操作。\n + +[Script] +DualSubs.Akamaized.M3U8.Master.response = type=http-response, pattern=^https?:\/\/(.+)\.akamaized\.net\/out\/v\d\/\w+\/index.m3u8, requires-body=1, script-path=https://github.com/DualSubs/Universal/releases/latest/download/Manifest.response.bundle.js, argument=Types="{{{Types}}}"&Languages[0]="{{{Languages[0]}}}"&Languages[1]="{{{Languages[1]}}}"&Vendor="{{{Vendor}}}"&ShowOnly="{{{ShowOnly}}}" +DualSubs.Akamaized.M3U8.Subtitles.response = type=http-response, pattern=^https?:\/\/(.+)\.akamaized\.net\/out\/v\d\/\w+\/index_(.+).m3u8\?(.*)subtype=, requires-body=1, script-path=https://github.com/DualSubs/Universal/releases/latest/download/Manifest.response.bundle.js, argument=Types="{{{Types}}}"&Languages[0]="{{{Languages[0]}}}"&Languages[1]="{{{Languages[1]}}}"&Vendor="{{{Vendor}}}"&ShowOnly="{{{ShowOnly}}}" +DualSubs.Akamaized.Composite.Subtitles.response = type=http-response, pattern=^https?:\/\/(.+)\.akamaized\.net\/out\/v\d\/\w+\/index_(.+).vtt\?(.*)subtype=(Official|External), requires-body=1, script-path=https://github.com/DualSubs/Universal/releases/latest/download/Composite.Subtitles.response.bundle.js, argument=Types="{{{Types}}}"&Languages[0]="{{{Languages[0]}}}"&Languages[1]="{{{Languages[1]}}}"&Vendor="{{{Vendor}}}"&ShowOnly="{{{ShowOnly}}}" +DualSubs.Akamaized.Translate.Subtitles.response = type=http-response, pattern=^https?:\/\/(.+)\.akamaized\.net\/out\/v\d\/\w+\/index_(.+).vtt\?(.*)subtype=Translate, requires-body=1, script-path=https://github.com/DualSubs/Universal/releases/latest/download/Translate.response.bundle.js, argument=Types="{{{Types}}}"&Languages[0]="{{{Languages[0]}}}"&Languages[1]="{{{Languages[1]}}}"&Vendor="{{{Vendor}}}"&ShowOnly="{{{ShowOnly}}}" + +[MITM] +hostname = %APPEND% abc-iview-mediapackagestreams-*.akamaized.net, mbc*-prod-dub-ak.akamaized.net, shls-mbcdramaksa-ak.akamaized.net, ssc-*-on-prem-ak.akamaized.net, ssc-*-ak.akamaized.net, delta45tatasky.akamaized.net, mwmpos*.akamaized.net +tcp-connection = true