Giter Club home page Giter Club logo

youtube-cc's Introduction

QX Youtube 无中文字幕机翻方案 提示:仅英文时自动开启,不影响已有中文字幕 @id77_GitHub

#Quantumult X 直接订阅--添加资源列表(重写)---打开资源解析器--强烈推荐-任何语言一律翻译中文 https://raw.githubusercontent.com/ligang2020/youtube-cc/main/Youtube_CC.conf#replace=lang\=en@lang=

添加mitm的hostname www.youtube.com

#// 重写,简体; https://www.youtube.com/api/timedtext?.+&lang=en.+?((?!&tlang=zh-Hans).)$ url request-header \sHTTP/1.1(\r\n) request-header &tlang=zh-Hans HTTP/1.1$1 #// 重写,繁体 https://www.youtube.com/api/timedtext?.+&lang=en.+?((?!&tlang=zh-Hant).)$ url request-header \sHTTP/1.1(\r\n) request-header &tlang=zh-Hant HTTP/1.1$1 #//重写,自定义 https://www.youtube.com/api/timedtext?.+&lang=待翻译语种.+?((?!&tlang=目标语种).)*$ url request-header \sHTTP/1.1(\r\n) request-header &tlang=目标语种 HTTP/1.1$1

ISO 639-1代码表是为语言分类的设计的一套标准代码

zh 中文 ja 日本语言 KO 韩语 更多语言:https://zh.wikipedia.org/wiki/ISO_639-1代码表

#有多需求的,可以订阅设置 需配合资源解析器

提示lang=xxx可以自行抓包替换

所有翻译为中文

https://raw.githubusercontent.com/ligang2020/youtube-cc/main/Youtube_CC.conf#replace=lang\=en@lang=

只翻译日语为中文

https://raw.githubusercontent.com/ligang2020/youtube-cc/main/Youtube_CC.conf#replace=lang\=en@lang=j

以此类推

感谢大佬 @id77_GitHub

youtube-cc's People

Contributors

ligang2020 avatar

Stargazers

 avatar  avatar Action avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.