GithubHelp home page GithubHelp logo

kingcos / wwdchelper Goto Github PK

View Code? Open in Web Editor NEW
214.0 7.0 25.0 1.03 MB

⏬ Help you get WWDC info easily, especially for subtitles.

License: MIT License

Swift 94.23% HTML 0.30% Shell 5.47%
wwdc command-line-tool swift swift-package-manager macos

wwdchelper's Introduction

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

wwdchelper's People

Contributors

kingcos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

wwdchelper's Issues

download fail

Unknown Error: Error Domain=NSCocoaErrorDomain Code=518 "The file couldn’t be saved because the specified URL type isn’t supported." UserInfo={NSURL=410_hd_creating_custom_instruments.zho.srt}

使用疑惑

按照Readme安装,执行wwdchelper 。
本地没有下载全部wwdc文件。
snip20170911_4
只有这几个session,并且只有.md文件

字幕重复

当一条字幕跨越整数分钟时会出现重复
比如

18
00:00:59,096 --> 00:01:00,406
视图之间的关系

19
00:00:59,096 --> 00:01:00,406
视图之间的关系

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.