save8lot
10-14-2014, 10:04 PM
I am trying to figure out how to download TV episodes from the usanetwork website. Here is my method so far:
Example TV episode link:
http://www.usanetwork.com/covertaffairs/videos/sensitive-euro-man
I have to login to my cable provider to view the video. I view it in firefox with the debug console open which displays the link to the "master.m3u8" file. Once I download it, I find all the available versions including the "1920x1080" version I am looking for.
Example 1080p m3u8 file URL (with token removed):
https://tve_usa-vh.akamaihd.net/i/prod/video/32/523/140819_2806429_Sensitive_Euro_Man_,25,40,18,12,7,4 ,2,00.mp4.csmil/index_1_av.m3u8?null=&id=*********************************************** ***********&hdntl=exp=**********~acl=%2fi%2fprod%2fvideo%2f32% 2f523%2f140819_2806429_Sensitive_Euro_Man_*~data=h dntl~hmac=****************************************
So I copy the 1080p link (with token) and open ffmpeg and run the following command:
ffmpeg -i "URL(with token)" -c copy -bsf:a aac_adtstoasc "xxxxx.mp4"
However it returns the error "HTTP Error 403 Forbidden" which results in "input/output error".
Either I should be using a different ffmpeg command, OR, the "token" only works from within the browser. The reason i think that is because I tried to download the Master.m3u8 file using IntenetDownloadManager first, and it would not work and the video crashed. Then I reloaded the video and tried downloading the master.m3u8 file again from within firefox and it downloaded fine. Also, the was able to download the 1080p m3u8 file, along with the KEY and 1 of the 260 .ts files within firefox and they also downloaded perfectly, however i get the "403 Error" with ffmpeg.
Atresdownloader does not seem to work for this video either.
Any ideas?
surya987
10-14-2014, 10:32 PM
it need signin...
plese post m3u8 full link with token once so that we can check it..
thanks
save8lot
10-16-2014, 09:31 PM
ok, so I found a video on the site that does NOT require a login. This particular video works the same way, but it currently does not require a cable provider login so it is a perfect example to try.
Streaming Video Link: http://www.usanetwork.com/benched/videos/pilot
Master.m3u8 (with token): https://tve_usa-vh.akamaihd.net/i/prod/video/7/255/141009_2818096_Pilot_anvver_2_,25,40,18,12,7,4,2,0 0.mp4.csmil/master.m3u8?b=&__b__=1000&hdnea=st=1413516136~exp=1413516196~acl=/i/prod/video/7/255/141009_2818096_Pilot_anvver_2_*~id=83fcc01d-181a-471b-8a50-fd8844733141~hmac=33ed8e7fad93d0404f2d8f0e5c011b55 4729b9e9baffe2dd30baa5a452990f1c
1080p m3u8 link (with token): https://tve_usa-vh.akamaihd.net/i/prod/video/7/255/141009_2818096_Pilot_anvver_2_,25,40,18,12,7,4,2,0 0.mp4.csmil/index_1_av.m3u8?null=&id=AgDGBz7Mpf71PZiLQFTZsg81Pc76XXmm4v%2f9Iw9sZvtOG xnT%2foH0ckq4XLNYQ37xAeZNeZ82S4NxLw%3d%3d&hdntl=exp=1413602584~acl=%2fi%2fprod%2fvideo%2f7%2 f255%2f141009_2818096_Pilot_anvver_2_*~data=hdntl~ hmac=cb672bc668ec20c5cecfeb3e97f0abdca79e1dd903074 d5e54122f12659b550b
So I open up ffmpeg and run the following command:
ffmpeg -i "https://tve_usa-vh.akamaihd.net/i/prod/video/7/255/141009_2818096_Pilot_anvver_2_,25,40,18,12,7,4,2,0 0.mp4.csmil/index_1_av.m3u8?null=&id=AgDGBz7Mpf71PZiLQFTZsg81Pc76XXmm4v%2f9Iw9sZvtOG xnT%2foH0ckq4XLNYQ37xAeZNeZ82S4NxLw%3d%3d&hdntl=exp=1413602584~acl=%2fi%2fprod%2fvideo%2f7%2 f255%2f141009_2818096_Pilot_anvver_2_*~data=hdntl~ hmac=cb672bc668ec20c5cecfeb3e97f0abdca79e1dd903074 d5e54122f12659b550b" -c copy -bsf:a aac_adtstoasc "Benched.mp4"
However I end up with an "HTTP Error 403 Forbidden" error message which results in the "Input/Output Error".
Again, anyone should be able to access this particular video, and obtain the m3u8 files, WITHOUT the need to login.
I just need help figuring out why it will not download.
Thanks in advance. :D
ehurdler
12-18-2014, 02:12 PM
ok, so I found a video on the site that does NOT require a login. This particular video works the same way, but it currently does not require a cable provider login so it is a perfect example to try.
Streaming Video Link: http://www.usanetwork.com/benched/videos/pilot
Master.m3u8 (with token): https://tve_usa-vh.akamaihd.net/i/prod/video/7/255/141009_2818096_Pilot_anvver_2_,25,40,18,12,7,4,2,0 0.mp4.csmil/master.m3u8?b=&__b__=1000&hdnea=st=1413516136~exp=1413516196~acl=/i/prod/video/7/255/141009_2818096_Pilot_anvver_2_*~id=83fcc01d-181a-471b-8a50-fd8844733141~hmac=33ed8e7fad93d0404f2d8f0e5c011b55 4729b9e9baffe2dd30baa5a452990f1c
1080p m3u8 link (with token): https://tve_usa-vh.akamaihd.net/i/prod/video/7/255/141009_2818096_Pilot_anvver_2_,25,40,18,12,7,4,2,0 0.mp4.csmil/index_1_av.m3u8?null=&id=AgDGBz7Mpf71PZiLQFTZsg81Pc76XXmm4v%2f9Iw9sZvtOG xnT%2foH0ckq4XLNYQ37xAeZNeZ82S4NxLw%3d%3d&hdntl=exp=1413602584~acl=%2fi%2fprod%2fvideo%2f7%2 f255%2f141009_2818096_Pilot_anvver_2_*~data=hdntl~ hmac=cb672bc668ec20c5cecfeb3e97f0abdca79e1dd903074 d5e54122f12659b550b
So I open up ffmpeg and run the following command:
ffmpeg -i "https://tve_usa-vh.akamaihd.net/i/prod/video/7/255/141009_2818096_Pilot_anvver_2_,25,40,18,12,7,4,2,0 0.mp4.csmil/index_1_av.m3u8?null=&id=AgDGBz7Mpf71PZiLQFTZsg81Pc76XXmm4v%2f9Iw9sZvtOG xnT%2foH0ckq4XLNYQ37xAeZNeZ82S4NxLw%3d%3d&hdntl=exp=1413602584~acl=%2fi%2fprod%2fvideo%2f7%2 f255%2f141009_2818096_Pilot_anvver_2_*~data=hdntl~ hmac=cb672bc668ec20c5cecfeb3e97f0abdca79e1dd903074 d5e54122f12659b550b" -c copy -bsf:a aac_adtstoasc "Benched.mp4"
However I end up with an "HTTP Error 403 Forbidden" error message which results in the "Input/Output Error".
Again, anyone should be able to access this particular video, and obtain the m3u8 files, WITHOUT the need to login.
I just need help figuring out why it will not download.
Thanks in advance. :D
Did you ever get an answer to this? I am trying to download similar/same video and cannot figure it out. Please help if you can.
blimey
12-20-2014, 12:28 PM
Streaming Video Link: http://www.usanetwork.com/benched/videos/pilot
Did you ever get an answer to this? I am trying to download similar/same video and cannot figure it out. Please help if you can.
eherdler, the link from savealot has expired. If you can't figure out the cookies for authenticated content, you can, while signed in, download the pieces within a browser and assemble them manually.
ehurdler
01-02-2015, 09:39 AM
eherdler, the link from savealot has expired. If you can't figure out the cookies for authenticated content, you can, while signed in, download the pieces within a browser and assemble them manually.
Blimey, I cannot figure out the cookies for authentication. I referenced the original link in this post as an example. If I take the link:
http://www.usanetwork.com/benched/videos/brief-encounters
for example. How would I figure out the cookies for authenticated content? If you would rather me PM you, etc. Please let me know. I am trying to figure this kind of stuff out and I just cannot. I hate asking stupid questions, and would like to be able to download videos like the one I posted above. I would also like to help others out as well if I can grasp this myself. Also if there is any straight forward tutorial on how to capture this with ffmpeg please also direct me towards it. Most things I find are outdated or lacking in information for someone with my lack of knowledge so far.
Thank you in advanced.
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.