View Single Post
  #5  
Old 08-02-2014, 11:43 AM
JALsnipe JALsnipe is offline
Junior Member
 
Join Date: Aug 2011
Posts: 6
JALsnipe is on a distinguished road
Default

Re: ABC and Disney Networks


Hey sorry for the bump but I'm having trouble downloading from the Disney sites.

I'm trying to download this video:
http://watchdisneychannel.go.com/how...emiere-trailer

First I do what you say, get the .m3u8 playlist from the inspector. I then go in and grab the 1080p stream URL:

Code:
#UPLYNK-MEDIA0:1920x1080x30,high-40,2x48000
#EXT-X-STREAM-INF:PROGRAM-ID=1,RESOLUTION=1920x1080,BANDWIDTH=6902579,CODECS="mp4a.40.5,avc1.640028"
http://content-ause4.uplynk.com/3d0c3e128fcb44059a1cf65c5d04455a/h.m3u8?[MY_KEY_INFO]
I throw that into the ffmpeg call like you said:

Code:
ffmpeg -i "http://content-ause4.uplynk.com/3d0c3e128fcb44059a1cf65c5d04455a/e.m3u8?[MY_KEY_INFO]" -c copy -bsf:a aac_adtstoasc "test.mp4"
But I get the following error:
Code:
ffmpeg version 2.3.1 Copyright (c) 2000-2014 the FFmpeg developers
  built on Aug  2 2014 11:37:10 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
  libavutil      52. 92.100 / 52. 92.100
  libavcodec     55. 69.100 / 55. 69.100
  libavformat    55. 48.100 / 55. 48.100
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.100 /  4. 11.100
  libavresample   1.  3.  0 /  1.  3.  0
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100

Unable to open key file [https://content-ause4.uplynk.com/check2?[KEY]]
[hls,applehttp @ 0x7f98ab817800] Error when loading first segment 'http://stg-ec-ore-u.uplynk.com/slices/3d0/21885d134fa441488df8e1d7acee8c66/3d0c3e128fcb44059a1cf65c5d04455a/E00000000.ts[KEY]'
http://content-ause4.uplynk.com/3d0c3e128fcb44059a1cf65c5d04455a/e.m3u8?[KEY]: Invalid data found when processing input
Note that I've removed any sensitive key info in the URL. Has the way to download Disney videos changed over the past few months?

Thanks again!

EDIT: I think something is wrong with that key file. When I try to curl the URL ffmpeg uses for the key file, it gives me garbage data:
Code:
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Cache-Control: no-cache, no-store
Content-Type: text/html; charset=UTF-8
Date: Sat, 02 Aug 2014 18:02:43 GMT
Server: uplynk webStack/2.4
X-Services: f737a433c5c842f8ac8f00b6d977f0f8
Content-Length: 16
Connection: Close

?SÁÖ'}Ej{u?Ú_
Reply With Quote