
https://github.com/kingcos/WWDCHelper
上个月中旬的时候,苹果官方推出了 WWDC 2017 中所有 Session 的中文字幕,在线观看时可以直接加载中文简体字幕。不过之前下载的 WWDC 视频却没有字幕,GitHub 上搜寻了一番,没有找到特别完善的下载方法。因此总结了几个之前的库,用 Swift 重写就得到了现在的 WWDCHelper。如果有任何问题,都可以在这里回复我,或者提出 Issue。
如果需要直接下载字幕的同学,可以在 Releases 页面找到简体中文或英文的压缩包,直接下载即可。
第一次写开源代码并分享给大家,如果 WWDCHelper 能帮到您,也希望可以与别人分享,来个 Star 也是极好的!
Install
> git clone https://github.com/kingcos/WWDCHelper.git > cd WWDCHelper > ./install.sh Help
> wwdchelper -h Usage: WWDCHelper [options] -y, --year: Setup the year of WWDC. Only support `17` or `2017` now. Default is WWDC 2017. -s, --sessions: Setup session numbers in WWDC. Default is all. -l, --language: Setup language of subtitle. Only support `chs` or `eng` now. Default is Simplified Chinese. --sd: Add sd tag for subtitle filename. Default is for hd. -p, --path: Setup download path of subtitles. Default is current folder. -h, --help: Print the help info. -v, --version: Print the version info. 