Skip to content

Instantly share code, notes, and snippets.

@mems
Last active September 2, 2024 07:01
Show Gist options
  • Save mems/d54ad804d8d8d17d0011 to your computer and use it in GitHub Desktop.
Save mems/d54ad804d8d8d17d0011 to your computer and use it in GitHub Desktop.
Found the Apple live stream URL
  1. Open http://www.apple.com/live/ which redirect to something like http://www.apple.com/live/2015-june-event/
  2. Find a loaded script like: /live/2015-june-event/scripts/2015-june-event.built.js
  3. Open this script and search p.events-delivery.apple.com.edgesuite.net You find something like http://p.events-delivery.apple.com.edgesuite.net/15pijbnaefvpoijbaefvpihb06/js_files/event
  4. append to it /url.json (details: host + path + url.json)
  5. Open the generated URL
  6. Found an URL like http://p.events-delivery.apple.com.edgesuite.net/15pijbnaefvpoijbaefvpihb06/m3u8/hls_mvp.m3u8

Now you can watch it in VLC or any other videoplayer that support M3U and MP4(H264+AAC)!

Previous Apple's website:

  1. [...]
  2. Find a loaded script like: http://p.events-delivery.apple.com.edgesuite.net/15pijbnaefvpoijbaefvpihb06/js_files/event/url.js
  3. Grab the correct URL
@mathiasbynens
Copy link

I just inspected the DOM using Safari’s DevTools and copy-pasted the URL from there.

@mems
Copy link
Author

mems commented Sep 9, 2015

It's works only with supported browsers (which support HTTP Live Streaming natively or via a plugin like Quicktimes)

@notanewbie
Copy link

This no longer works, as they have switched to Akamai.

@notanewbie
Copy link

Follow-up: based on your instructions for the second website (and also noting that every year the stream URL grows by two characters, the stream URL could be either https://p-events-delivery.akamaized.net/3004uhggjsaqvcdnqxgthmqqrbejhxytzxcd/m3u8/hls_mvp.m3u8 or https://p-events-delivery.akamaized.net/193004uhggjsaqvcdnqxgthmqqrbejhxytzxcd06/m3u8/hls_mvp.m3u8

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