GithubHelp home page GithubHelp logo

dworak / wwdc-downloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ohoachuck/wwdc-downloader

0.0 0.0 0.0 214.89 MB

WWDC 2019 video downloader script written in Swift - no external dependency.

Home Page: http://blog.hoachuck.biz

Swift 71.84% Shell 28.16%

wwdc-downloader's Introduction

WWDC Video sessions bulk download (wwdcDownloader.swift)

I went to the WWDC Debug lab and found out that current script does not work with shebang (#!/usr/bin/swift) due to a bug in Swift 5.1 (I will file a radar).

So the workaround (waiting for Swift 5.1 bug fix) is to compile the script before runing it (no crash with swiftc).

Synthax: wwdcDownloader.sh <same params as describes bellow>

example: wwdcDownloader.sh --hd720 --pdf --sample (will download all files in the same folder)


wwdcDownloader.swift script is a Swift script that should work out of the box without any needs of extra software or development package (at least ususaly :) ).

Its main purpose is to let you bulk download all WWDC session videos, pdf resources and sample codes in one shot.

Latest version is wwdcDownloader.swift.

Ok, this script is not the best in class solution for getting WWDC videos and other resources. There are multiple version of scripts that does the same out there. But the best in class reference is the nice designed mac application done by Guilherme Rambo : WWDC. You definitely want to check he's website.

The current scripts was mainly created to get in one shot all videos at the end of DubDubDC right before you run back home (in an external hard drive for instance). It's a good move to take advantage of WWDC conference center fast cable connection.

Using the options below, you can choose to retrieve 1080p, 720p or SD videos and request to download pdf and sample codes as well.

Note: script will download videos/pdfs in the current directory.

1080p videos

Downloading 1080p videos requires video processing. The script will attempt to use ffmpeg if available otherwise, will download the stream files but will not convert. The conversion process can be started after all videos are downloaded. After installing ffmpeg, re-running wwdcDownloader the same way as the first time will only convert the downloaded stream files to video files. You can install ffmpeg via [Homebrew (ffmpeg)] (https://formulae.brew.sh/formula/ffmpeg) (brew install ffmpeg) if you are downloading the 1080p videos.

Usage

./wwdcDownloader.swift

Downloads by default WWDC 2019 HD 1080p videos sessions (need ffmpeg).

Unless you plan to watch the videos on your TV you might just want to do get HD versions (720p):

./wwdcDownloader.swift --hd720 --pdf --sample

for taking HD videos, PDFs and sample codes when available.

Options

You can try wwdcDownloader.swift --help for more options.

Usage: wwdcDownloader.swift [--wwdc-year <year>] [--tech-talks] [--hd1080] [--hd720] [--sd] [--pdf] [--pdf-only] [--sample] [--sample-only] [--sessions <s1 s2 ...>] [--list-only] [--help]

Examples:

	- Download all 1080p videos for wwdc 2019 (default):
		./wwdcDownloader.swift --hd1080
		
	- Download all HD (720p) videos, slides PDF & the sample codes for wwdc 2019:
		./wwdcDownloader.swift --hd720 --pdf --sample

	- Download all 720p videos for wwdc 2019:
		./wwdcDownloader.swift --hd720
		
	- Download all SD videos for wwdc 2019:
		./wwdcDownloader.swift --sd
		
	- Download all SD videos & the slides PDF for wwdc 2019:
		./wwdcDownloader.swift --sd --pdf

	- Download all SD videos, slides PDF & the sample code for wwdc 2019:
		./wwdcDownloader.swift --sd --pdf --sample
	
	- Download only all PDF for wwdc 2019:
		./wwdcDownloader.swift --pdf-only
	
	- Download only all sample code for wwdc 2019:
		./wwdcDownloader.swift --sample-only

	- Download only SD videos + PDFs for sessions 503 and 504 for wwdc 2019:
		./wwdcDownloader.swift --sd --pdf --sessions 503 504

	- List titles of known sessions for wwdc 2019:
		./wwdcDownloader.swift --list-only

	- Download all 1080p videos for wwdc 2019:
		./wwdcDownloader.swift --wwdc-year 2019

Requirements

  • Works on macOS.
  • ffmpeg (for 1080 HD videos).

Related content

WWDC native app done by Guilherme Rambo. You definitely want to check he's website.

wwdc-downloader's People

Contributors

ohoachuck avatar danielpunkass avatar stephenfeather avatar fehmitoumi avatar mgt-la avatar whakkee avatar mrcljx avatar aglee avatar chandanankush avatar patricks avatar mightyleader avatar mootpointer avatar demitri avatar hirohitokato avatar jacobvanorder avatar marczobec avatar readmecritic avatar rad182 avatar shrimantnikate avatar ivira avatar pinxue 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.