Skip to content

Instantly share code, notes, and snippets.

@floriankugler
Created June 11, 2013 20:15
Show Gist options
  • Star 28 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save floriankugler/5760217 to your computer and use it in GitHub Desktop.
Save floriankugler/5760217 to your computer and use it in GitHub Desktop.
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
Copy link

robb commented Jun 11, 2013

I think that should say atv.m3u8

@constantine-fry
Copy link

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

@jasondinh
Copy link

ipad_w.m3u8 is the iPad link (720p)

@timd
Copy link

timd commented Jun 13, 2013

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

@yas375
Copy link

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
Copy link

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
Copy link

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
Copy link

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

@yas375
Copy link

yas375 commented Jun 13, 2013

Better than nothing :)

@florianreinhart
Copy link

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

@yas375
Copy link

yas375 commented Jun 13, 2013

Thanks, I'll try.

@yisibl
Copy link

yisibl commented Jun 14, 2013

Can help spread youtube or network disk do?

@yas375
Copy link

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