Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Download WWDC 2013 session videos from https://developer.apple.com/wwdc/videos/
In order for this to work you need ffmpeg. I tried with version 1.2.1.
1) Play the video you want to download in the browser
2) Inspect the video element on the page
3) Copy the video url from the page source (something like http://devstreaming.apple.com/videos/wwdc/2013/.../101/ref.mov)
4) In this url replace "ref.mov" with "iphone_c.m3u8" (for 960x540 resolution) or "atp.m3u8" if you want more (probably 720p?)
5) Execute `ffmpeg -y -i http://devstreaming.apple.com/videos/wwdc/2013/.../101/iphone_c.m3u8 output.mp4`
6) There is your video :)
@robb

This comment has been minimized.

Copy link

@robb robb commented Jun 11, 2013

I think that should say atv.m3u8

@Constantine-Fry

This comment has been minimized.

Copy link

@Constantine-Fry Constantine-Fry commented Jun 12, 2013

my ffmpeg ask for -strict -2 parameters
./ffmpeg -y -i http://devstreaming.....atv.m3u8 -strict -2 output.mov

@jasondinh

This comment has been minimized.

Copy link

@jasondinh jasondinh commented Jun 13, 2013

ipad_w.m3u8 is the iPad link (720p)

@timd

This comment has been minimized.

Copy link

@timd timd commented Jun 13, 2013

Nice! I wrapped this up into a shell script: https://github.com/timd/dubdubDownloader

@yas375

This comment has been minimized.

Copy link

@yas375 yas375 commented Jun 13, 2013

@timd would be great if you will also add a wrapper to parse urls from videos.json and provide easy way to specify what videos to download ;)

@yas375

This comment has been minimized.

Copy link

@yas375 yas375 commented Jun 13, 2013

videos.json - is url loaded for example on ipad. I've found it via mitmproxy. But looks like it has some sensitive data, so I can't share it :(
But I'm working on a simple ruby script right now ;)

@yas375

This comment has been minimized.

Copy link

@yas375 yas375 commented Jun 13, 2013

For those who is interested here is the script for auto download of all the videos. And it also can be rerun later from the same directory to downloaded newly released videos.

@dkduck thanks for good starting point! ;)

@florianreinhart

This comment has been minimized.

Copy link

@florianreinhart florianreinhart commented Jun 13, 2013

I don't think this is the best solution for downloading, because ffmpeg seems to reencode the video...

@yas375

This comment has been minimized.

Copy link

@yas375 yas375 commented Jun 13, 2013

Better than nothing :)

@florianreinhart

This comment has been minimized.

Copy link

@florianreinhart florianreinhart commented Jun 13, 2013

You could try:
ffmpeg -i http://*** -vcodec copy -acodec copy output.mp4

@yas375

This comment has been minimized.

Copy link

@yas375 yas375 commented Jun 13, 2013

Thanks, I'll try.

@yisibl

This comment has been minimized.

Copy link

@yisibl yisibl commented Jun 14, 2013

Can help spread youtube or network disk do?

@yas375

This comment has been minimized.

Copy link

@yas375 yas375 commented Jun 14, 2013

Apple has added links to download the videos:

aa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment