Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 12-12-2014, 06:14 PM
mrswhite mrswhite is offline
Member
 
Join Date: Jan 2013
Posts: 33
mrswhite is on a distinguished road
Unhappy

Downloading from Yahoo TV


Hi 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
Reply With Quote
  #2  
Old 12-12-2014, 06:59 PM
mrswhite mrswhite is offline
Member
 
Join Date: Jan 2013
Posts: 33
mrswhite is on a distinguished road
Default

Re: Downloading from Yahoo TV


I 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"
I'm still surprised

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.
Reply With Quote
  #3  
Old 12-12-2014, 08:56 PM
drbmn drbmn is offline
Member
 
Join Date: May 2012
Posts: 145
drbmn is on a distinguished road
Default

Re: Downloading from Yahoo TV


Code:
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
Reply With Quote
  #4  
Old 12-12-2014, 09:50 PM
blimey blimey is offline
Former Member
 
Join Date: Jul 2006
Posts: 286
blimey is on a distinguished road
Default

Re: Downloading from Yahoo TV


Quote:
Originally Posted by mrswhite View Post
I'm trying to download this video:
Code:
https://tv.yahoo.com/blogs/tv-news/martin-freeman-saturday-night-live-debut-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.
The method from your link above works. Search the source of the video for "media_id"

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&region=US&lang=en-US
Same for the mp4, using the same instructions;
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
Reply With Quote
  #5  
Old 12-12-2014, 09:54 PM
mrswhite mrswhite is offline
Member
 
Join Date: Jan 2013
Posts: 33
mrswhite is on a distinguished road
Default

Re: Downloading from Yahoo TV


(omg did i misread the instructions from the link i posted?!?! the horror!)

Thank you very much blimey!!
Reply With Quote
Reply Post New Thread
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:52 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons