Skip to content

Instantly share code, notes, and snippets.

@floriankugler
Created June 11, 2013 20:15
Show Gist options
  • 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 :)
@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