Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Downloading from Yahoo TVHi again!
I'm trying to download this video: https://tv.yahoo.com/blogs/tv-news/m...165750720.html (it's the first one after the annoying ad) With Yahoo I know a method (namely this: http://blog.hd-trailers.net/tutorial...rs-from-yahoo/) but that works with "movies" or "trailers" Yahoo URLs. In this case it's a "TV" url. However I imagined it was similar, so what I tried to do is to find the m3u8 playlist file for this video. Generally Yahoo sends a json type of file with a bunch of m3u8 urls for their different versions of the video (different qualities). I was able to find one of this json files but strangely enough it doesn't contain the video I'm looking for. This is the json file i was able to get: https://video.media.yql.yahoo.com/v1...425662813_2656 Wireshark didn't show me any results searching with the "HTTP" protocoll filter - which was strange I suppose? The same goes with URLSnooper. Nothing useful. So I just use my chrome's "network" examination and I was able to see a bunch of "mp2t" files being downloaded in this form: https://yahoo.hs.llnwd.net/primetime...3c0227ab&num=0 That is actually the first of the 17 segments of the complete video! However it's not the best of qualities. I analysed different ".ts" urls also from yahoo and i thought that changing the "_3_0" (which for other videos, the highest quality is _10_0) would work, also changing the "h" attribute. But nope... it doesn't. At the moment I was able to download this video in low quality, do you know how to get a better quality one? Sorry if this is a bit long, just wanted to tell you all the process I've been through. Thanks in advance! mrswhite |
#2
|
|||
|
|||
Re: Downloading from Yahoo TVI was able to download it at last!
I searched for m3u8 on the source code as was advised on another post but I noticed that there were RTMPS urls JUST for this video, right in the source code. Wireshark never works for the rtmp protocol - for me at least. I always get "unknown" so I was just going to give it ago with a very basic rtmpdump command line using the information that was provided right there in the source code of the page and to my surprise it worked! This is the command line I used (both parameters were obtained just by looking at the source code - it's a json - and i got the ones that belonged to a HD download): Code:
rtmpdump -r "rtmps://ci-3c363c9a7c-bec1b2f7.rtmp.atlas.cdn.yimg.com" -y "/primetimetv/lotus/828f0ebf-cd2b-429c-a0a6-4e56bef26f16_GG60mBpzBMMnSBA0rmqAEFwir8CiC82IrMTEXS6Ff7C65_I78HR78FAqfpGjnb_eNswUyH2niVI-_11_0?a=primetimetv&b=41920&m=video%2fmp4&x=1419034687&" -o "output.mp4" But anyway, if you know how to get the m3u8 for that video that would be lovely. It always helps to have more than one method just in case the other doesn't work. |
#3
|
|||
|
|||
Re: Downloading from Yahoo TVCode:
ffmpeg -i "https://ci-1d2bce27ee-7a3d7b79.http.atlas.cdn.yimg.com/primetimetv/lotus/c0929757-f161-4782-a071-42a27eddb44b_z-UG8swjBMQmFRGKy2n9dOJ5a46boDNh8Dz58nuN7A_RmoIZMSqkzwfz5DcNEAgMNymFwIFE5uc-_10_0.m3u8?a=primetimetv&b=31290&m=application%2fvnd.apple.mpegurl&mr=0&ns=ps&ps=Cdz1rmE4vHXGdz8rM0n6DWZHlxoMe5PLXpsrZuXz0FU&x=1419044044&" -c copy out.ts |
#4
|
|||
|
|||
Re: Downloading from Yahoo TVQuote:
The media_id for this video is: ae740836-5653-3e51-a34c-3b7e2fc84e81 For m3u8, insert the media id in this template; Code:
http://hls.video.query.yahoo.com/ae740836-5653-3e51-a34c-3b7e2fc84e81.m3u8?site=tv®ion=US&lang=en-US Code:
http://video.query.yahoo.com/v1/public/yql?q=SELECT%20*%20FROM%20yahoo.media.video.streams%20WHERE%20id=%22ae740836-5653-3e51-a34c-3b7e2fc84e81%22%20AND%20format=%22mp4%22%20AND%20protocol=%22http%22%20AND%20rt=%22html%22%20AND%20plrs=%22%22%20AND%20acctid=%22%22%20AND%20plidl=%22%22%20AND%20pspid=%22%22%20AND%20offnetwork=%22false%22%20AND%20site=%22tv%22%20AND%20lang=%22en-US%22%20AND%20region=%22US%22%20AND%20override=%22none%22%20AND%20plist=%22%22%20AND%20ssl=%22false%22%20AND%20synd=%22%22;&env=prod&format=json |
#5
|
|||
|
|||
Re: Downloading from Yahoo TV(omg did i misread the instructions from the link i posted?!?! the horror!)
Thank you very much blimey!! |
Tags: m3u8, yahoo tv |
Thread Tools | |
Display Modes | |
|
|