Inspired by qiaoxueshi/WWDC_2015_Video_Subtitle, ohoachuck/wwdc-downloader, and @onevcat's videos. Thanks for their inspiration and efforts.
WWDCHelper is a command line tool on macOS for you to get WWDC info easily. Now you can get download links of SD/HD video & PDF, and download subtitles in English or Simplified Chinese directly by it.
You can also download subtitles at the releases page.
Although I have written in Swift for years, I still have a lot to learn about Swift. And to be honest, CLI (Command Line Interface) is not familiar for me. So this program is not perfect, even a little wired. So you can issue me if you have any questions, advices or find some bugs . I will be very appreciated for your help.
You should have Swift Package Manager installed or latest Xcode installed with command line tools in your macOS.
> git clone https://github.com/kingcos/WWDCHelper.git > cd WWDCHelper > ./install.sh
> 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.
- If you just want to get Session 102 & 202 info of WWDC 2017:
> wwdchelper -s 102 202 or > wwdchelper -y 17 -s 102 202 or > wwdchelper --year 2017 --sesions 102 202
- If you want to download subtitles in English of Session 102 & 202 for SD videos:
> wwdchelper -s 102 202 -l eng --sd or > wwdchelper --year 2017 --sessions 102 202 --language eng --sd
- If you want to download all subtitles in English for HD videos, and specify the path (NOT recommend):
> wwdchelper -l eng -p /Users/kingcos/Downloads/hd/eng/
Maybe implement these features in the future.
- Download multiple subtitles at once
- Support subtitles in Traditional Chinese
- Support subtitles in both English & Chinese
- Support WWDC before 2017
- Support for Linux
WWDC 17 - Notes