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 06-18-2016, 05:49 PM
pipo18 pipo18 is offline
Junior Member
 
Join Date: Jun 2016
Posts: 1
pipo18 is on a distinguished road
Default

Getting mp4 from history.com


Hello,
I'm trying to download episodes from History.com. I was able to download the free-for-everyone episodes with youtube-dl.
Now I want to download the ones for cable-users. For these, youtube-dl oviously states "ERROR: This content requires a valid, unexpired auth token."
I do have a login and I'm able to watch all the episodes in the browser. But I'm having difficulties to extract the m3u8 or mp4 link.

To understand how it works, I sniffed the http link when I downloaded a free-for-everyone episode with youtube-dl.
This is the original history URL:
Code:
http://www.history.com/shows/pawn-stars/season-1/episode-5
And this is the direct video URL (highest quality):
Code:
http://aepdaks3.aetndigital.com/AETN-History_VMS/BRAND_THC_PAWN_50582_CRS_2398_030_20140403_V1_S3_1800.mp4?__gda__=1466298593_02219f138b8f3073103de9d15896f55a
How did youtube-dl extract the direct video URL from the page? I was not able to find anything remotely like this in the source code or the video element.

I did find something with mp4/m3u8 via httpfox, but I wouldnt know how I would get the link out of it like youtube-dl did:
Code:
http://b.scorecardresearch.com/p?c1=2&c2=3005002&ns_ap_pn=js&ns_ap_pfm=html&ns_type=hidden&ns_st_sv=4.1505.18&ns_st_pv=2.1.6&ns_st_it=s&ns_st_id=1466289772356_1&ns_st_ec=1&ns_st_sp=1&ns_st_sq=1&ns_st_cn=2&ns_st_ev=play&ns_st_po=241&ns_st_cl=534000&ns_st_el=1277000&ns_st_pb=1&ns_st_mp=thePlatform&ns_st_mv=5.6.12&ns_st_pn=1&ns_st_tp=3&ns_st_ci=247066179542&ns_ts=1466289776990&ns_st_bt=0&ns_st_bp=0&ns_st_br=1926000&ns_st_ub=0&ns_st_ws=norm&ns_st_pl=Gangsters%20and%20Guitars&ns_st_pr=Pawn%20Stars&ns_st_ep=Gangsters%20
If anyone could help me how to get to the direct video URL from this free for all episode, I might be able to do the same for the cable-sub episodes.
I just saw this show for the first time and I'd like to watch it on my next trip.


TL,DR: How to get this: http://aepdaks3.aetndigital.com/AETN...e9d 15896f55a from this: http://www.history.com/shows/pawn-st...on-1/episode-5

Thanks !

Last edited by pipo18 : 06-18-2016 at 07:50 PM.
Reply With Quote
  #2  
Old 06-19-2016, 02:07 AM
ngocdiem911x ngocdiem911x is offline
Junior Member
 
Join Date: Jun 2016
Posts: 4
ngocdiem911x is on a distinguished road
Default

Re: Getting mp4 from history.com


thanks you 4 share ^^ i liked
Reply With Quote
  #3  
Old 06-21-2016, 03:00 AM
Terenz Terenz is offline
Member
 
Join Date: Jun 2013
Posts: 69
Terenz is on a distinguished road
Default

Re: Getting mp4 from history.com


Using network devtool of Chrome-Firefox search for a part of this string:
Code:
https://link.theplatform.com/s/xc6n8B/media/N1sBG40oLjF7?mbr=true&sig=NUMBERS&assetTypes=medium_video_ak&formats=m3u,mpeg4&format=SMIL&embedded=true&tracking=true
Replace some part, in this way
Code:
https://link.theplatform.com/s/xc6n8B/media/N1sBG40oLjF7?mbr=true&sig=NUMBERS&assetTypes=medium_video_s3&format=SMIL&embedded=true&tracking=true
Then you have a file to download with all MP4 resolutions like this:
Code:
<smil xmlns="http://www.w3.org/2005/SMIL21/Language">
<head>
	<meta name="refreshToken" content="NUMBERS"/>
	<meta name="startingBitrate" content="2500000"/>
</head>
<body>
<seq>
	<ref src="http://ads.freewheel.tv" type="application/smil+xml" no-skip="true" tags="preroll">
	</ref>
<par>
<switch>
	<video src="http://aepdaks3.aetndigital.com/AETN-History_VMS/History_Pawn-Stars_101_Knights-in-Fake-Armor_LF_S3_1800.mp4?__gda__=1466506592_ec4c2550a2eda48049a8349b7527b2bb" system-bitrate="1920000" height="540" width="960"/>
	<video
Good Luck
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 06:42 PM.


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