- 更新日期
- Fri, 26 Jul 2024 21:19:28 GMT
YouTube翻译
字幕增强及双语翻译,支持Youtube Music歌词翻译。此插件需要置于YouTube去广告插件之下,且和YouTube去广告插件的歌词翻译冲突,不支持tvOS设备。
name: YouTube翻译
desc: 字幕增强及双语翻译,支持Youtube Music歌词翻译。此插件需要置于YouTube去广告插件之下,且和YouTube去广告插件的歌词翻译冲突,不支持tvOS设备。
icon: https://gitlab.com/lodepuly/iconlibrary/-/raw/main/App_icon/120px/YouTube.png
category: 去广告
date: "2024-07-26 21:19:28"
http:
mitm:
- www.youtube.com
- m.youtube.com
- tv.youtube.com
- music.youtube.com
- youtubei.googleapis.com
- -redirector*.googlevideo.com
- "*.googlevideo.com"
script:
# YouTube字幕翻译
- match: https?:\/\/(www|m|tv)\.youtube\.com\/youtubei\/v1\/player
name: JSON·YouTube播放器请求_13
type: request
require-body: true
- match: ^https?:\/\/(www|m|tv)\.youtube\.com\/youtubei\/v1\/player
name: JSON·YouTube播放器响应_14
type: response
require-body: true
- match: ^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/player
name: JSON·YouTube播放器请求_13
type: request
require-body: true
binary-mode: true
- match: ^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/player
name: JSON·YouTube播放器响应_14
type: response
require-body: true
binary-mode: true
- match: ^https?:\/\/(www|m)\.youtube\.com\/api\/timedtext
name: JSON·YouTube播放器请求_13
type: request
require-body: false
- match: ^https?:\/\/(www|m)\.youtube\.com\/api\/timedtext\?(.*)subtype=(Official|External)
name: YouTube合成定时文本响应_18
type: response
require-body: true
- match: ^https?:\/\/(www|m)\.youtube\.com\/api\/timedtext\?(.*)subtype=Translate
name: YouTube翻译定时文本响应_19
type: response
require-body: true
# YouTube Music字幕翻译
- match: ^https?:\/\/music\.youtube\.com\/youtubei\/v1\/browse
name: JSON·YouTube播放器请求_13
type: request
require-body: true
- match: ^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/browse
name: JSON·YouTube播放器请求_13
type: request
require-body: true
binary-mode: true
- match: ^https?:\/\/music\.youtube\.com\/youtubei\/v1\/browse\?(.*)subtype=Translate
name: YouTube翻译定时文本响应_19
type: response
require-body: true
- match: ^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/browse\?(.*)subtype=Translate
name: YouTube翻译定时文本响应_19
type: response
require-body: true
binary-mode: true
script-providers:
JSON·YouTube播放器请求_13:
url: https://gitlab.com/lodepuly/vpn_tool/-/raw/master/Resource/Script/YouTube/YouTube_Subtitles_Translate/YouTube_Subtitles_request.js
interval: 86400
JSON·YouTube播放器响应_14:
url: https://gitlab.com/lodepuly/vpn_tool/-/raw/master/Resource/Script/YouTube/YouTube_Subtitles_Translate/YouTube_Subtitles_response.js
interval: 86400
YouTube合成定时文本响应_18:
url: https://gitlab.com/lodepuly/vpn_tool/-/raw/master/Resource/Script/YouTube/YouTube_Subtitles_Translate/YouTube_Composite_Subtitles_response.js
interval: 86400
YouTube翻译定时文本响应_19:
url: https://gitlab.com/lodepuly/vpn_tool/-/raw/master/Resource/Script/YouTube/YouTube_Subtitles_Translate/YouTube_Subtitles_Translate_response.js
interval: 86400