Swiftpack.co -  kingcos/WWDCHelper as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
kingcos/WWDCHelper
⏬ Help you get WWDC info easily, especially for subtitles.
.package(url: "https://github.com/kingcos/WWDCHelper.git", from: "v1.0.2")

WWDCHelper Logo

WWDCHelper

English | 中文

Inspired by qiaoxueshi/WWDC_2015_Video_Subtitle, ohoachuck/wwdc-downloader, and @onevcat's videos. Thanks for their inspiration and efforts. 👏

Info

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, Janpanese (only WWDC 2018 & 2019), and even Simplified Chinese directly by it.

You can also download subtitles at the releases page.

Notice:

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. ❤️

How

Install

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

Run

WWDCHelper -h

Demo

  • Update: If you want to get all sessions info of WWDC 2019 (Including videos' download links):
> wwdchelper -y 2019
  • Update: - If you want to download subtitles in English of WWDC 2019:
# HD Videos:
> wwdchelper -y 2019 -l eng
or
# SD Videos:
> wwdchelper -y 2019 --sd -l eng
  • If you just want to get Session 202 & 203 info of WWDC 2019:
> wwdchelper -s 202 203
or
> wwdchelper -y 2019 -s 202 203
or
> wwdchelper --year 2019 --sesions 202 203
  • If you want to download subtitles in English of Session 202 & 203 for SD videos:
> wwdchelper -s 202 203 -l eng --sd
or
> wwdchelper --year 2019 --sessions 202 203 --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/

NOT Implemented

Maybe implement these features in the future.

  • Download multiple subtitles at once
  • Support subtitles in all languages that provided
  • Support ALL WWDC (2012 ~ 2019)
  • Swift 4.1
  • Swift 4.2
  • Swift 5.0
  • ☐ Support for Linux 🐧

Reference

LICENSE

  • MIT

GitHub

link
Stars: 209
Last commit: 9 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

WWDC 2019 Subtitles
1 year ago

Update

  • Subtitles of WWDC 2019 in English, Chinese, & Japanese are provided now.
  • Subtitles of session 601 & 802 in Chinese & session 808 in Japanese have no content officially.
  • Fixed this issue: WWDC 2019什么时候支持一下呢? #19

  • [TODO] Subtitle of session 808 in Japanese doesn't download successfully.

  • Only English & Chinese version now.
  • Japanese version will be updated recently.
  • Subtitles of session 601 & 802 in Chinese have some issues officially.

  • Only English version now.
  • Chinese & Japanese version will be updated recently.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API