PDA

View Full Version : how to download from www.fox.com


chanc
10-01-2012, 07:05 AM
Link :http://www.fox.com/americandad/full-episodes/16757367/ricky-spanish

The video won't play in firefox but goes well in chrome. So weird.

svnpenn
10-01-2012, 07:46 AM
php /opt/Scripts/AdobeHDS.php --manifest 'http://fbchdvod-f.akamaihd.net/z/Fox
.com/16/1005/AmericanDad_7AJN02_,15,22,30,50,80,130,180,250,0.m p4.csmil/manifest
.f4m?hdnea=st=1349099078~exp=1349099198~acl=/z/Fox.com/16/1005/AmericanDad_7AJN0
2_*~id=f8fee48d-758d-410b-8bce-550be3a3c880~hmac=494a17d4d4d789dd33494ea261e83b2
99a639c57aeef80a9c59bf17b19cef375&hdcore=2.6.8&g=RWHBMTYJYVEY'

KSV Adobe HDS Downloader

Processing manifest info....
Quality Selection:
Available: 2623 1923 1423 892 560 328 248 178
Selected : 2623
Unknown packet type 11 encountered! Encrypted fragments can't be recovered.

chanc
10-01-2012, 07:58 AM
php /opt/Scripts/AdobeHDS.php --manifest 'http://fbchdvod-f.akamaihd.net/z/Fox
.com/16/1005/AmericanDad_7AJN02_,15,22,30,50,80,130,180,250,0.m p4.csmil/manifest
.f4m?hdnea=st=1349099078~exp=1349099198~acl=/z/Fox.com/16/1005/AmericanDad_7AJN0
2_*~id=f8fee48d-758d-410b-8bce-550be3a3c880~hmac=494a17d4d4d789dd33494ea261e83b2
99a639c57aeef80a9c59bf17b19cef375&hdcore=2.6.8&g=RWHBMTYJYVEY'

KSV Adobe HDS Downloader

Processing manifest info....
Quality Selection:
Available: 2623 1923 1423 892 560 328 248 178
Selected : 2623
Unknown packet type 11 encountered! Encrypted fragments can't be recovered.

So , the adobehds.php won't work.
And rtmp-host.sh doesn't ,either.
Is there any way to solve this ?

svnpenn
10-01-2012, 08:11 AM
You would need to reverse engineer the encryption.

Encryption scheme used is AES-128-CBC. i couldn't figure out the KDF (key derivation function) used to derive individual packet decryption key from global key using the salt block as shown above. KDF function is executed inside Alchemy VM (a method used to execute c code from ActionScript VM) which makes it very hard to reverse engineer from disassembled code.

stream-recorder.com/forum/showpost.php?p=49998&postcount=204

chanc
10-01-2012, 08:24 AM
You would need to reverse engineer the encryption.


It seems to me a task impossible to achieve.

chanc
10-02-2012, 08:56 PM
SVNPENN, Is there any other way to download from www.fox.com, except using adobehds.php ?
Do you have fox.sh alike ?

svnpenn
10-02-2012, 09:09 PM
SVNPENN, Is there any other way to download from www.fox.com, except using adobehds.php ?
Do you have fox.sh alike ?

My scripts only ease downloading. They do not do decryption.

chap
10-02-2012, 11:32 PM
svnpenn
Can I transfer the http headers
with ffmpeg

example if possible

thanks

svnpenn
10-02-2012, 11:49 PM
svnpenn
Can I transfer the http headers
with ffmpeg

Maybe

ffmpeg -i "http://mysite.com:80/live" -headers "Referer: http://www.mysite.com" -c copy out.ts

ffmpeg.org/pipermail/ffmpeg-user/2012-February/005095.html

denobis
09-01-2013, 04:36 PM
SVNPENN, Is there any other way to download from www.fox.com, except using adobehds.php ?
Do you have fox.sh alike ?

Yes, there is other way. In your example,

http://www.fox.com/americandad/full-episodes/16757367/ricky-spanish

you get this direction

http://fbchdvod-f.akamaihd.net/z/Fox
.com/16/1005/AmericanDad_7AJN02_,15,22,30,50,80,130,180,250,0.m p4.csmil/manifest
.f4m?hdnea=st=1349099078~exp=1349099198~acl=/z/Fox.com/16/1005/AmericanDad_7AJN0
2_*~id=f8fee48d-758d-410b-8bce-550be3a3c880~hmac=494a17d4d4d789dd33494ea261e83b2
99a639c57aeef80a9c59bf17b19cef375&hdcore=2.6.8&g=RWHBMTYJYVEY

which is a f4m manifest.

But you can get m3u8 manifest and use ffmpeg to download and decrypt the chunks. In this case you can access the m3u8 with
http://link.theplatform.com/s/fox.com/MNH7eZyt_CPk?mbr=true&manifest=m3u, getting these qualities

BANDWIDTH=328000,RESOLUTION=480x270 ffmpeg Download

BANDWIDTH=2623000,RESOLUTION=1280x720 ffmpeg Download

BANDWIDTH=1923000,RESOLUTION=1280x720 ffmpeg Download

BANDWIDTH=1423000,RESOLUTION=1024x576 ffmpeg Download

BANDWIDTH=891000,RESOLUTION=640x360 ffmpeg Download

BANDWIDTH=560000,RESOLUTION=480x270 ffmpeg Download

BANDWIDTH=248000,RESOLUTION=402x226,CODECS="avc1.66.30, mp4a.40.2" ffmpeg Download

BANDWIDTH=179000,RESOLUTION=402x226,CODECS="avc1.66.30, mp4a.40.2" ffmpeg Download

BANDWIDTH=29000,CODECS="mp4a.40.2" ffmpeg Download.

Directly with ffmpeg it shows an error but you can download the crypt.key, and the chunks and use then ffmpeg.

An example of m3u8 for the maximum quality

https://fbchdvod-f.akamaihd.net/i/Fox.com/720/715/AmericanDad_7AJN13_,250,180,130,80,50,30,22,15,0.m p4.csmil/index_0_av.m3u8?null=&id=AgCOAIT2pf4ahx29I1LSJM0Png%2fqSau1izaoAd0DBumAH cweSaodcb7rw2aMeGZWMNDJS2ldMorMWg%3d%3d

Note that you must use 2 cookies to get this file, ahead of the https connection:

hdntl and _alid_

chap
09-01-2013, 11:27 PM
you can download the crypt.key, and the chunks and use then ffmpeg.
Note that you must use 2 cookies to get this file, ahead of the https connection:

hdntl and _alid_

please
example command

chanc
09-13-2013, 01:54 AM
But you can get m3u8 manifest and use ffmpeg to download and decrypt the chunks. In this case you can access the m3u8 with
http://link.theplatform.com/s/fox.com/MNH7eZyt_CPk?mbr=true&manifest=m3u, getting these qualities

BANDWIDTH=328000,RESOLUTION=480x270 ffmpeg Download

BANDWIDTH=2623000,RESOLUTION=1280x720 ffmpeg Download

BANDWIDTH=1923000,RESOLUTION=1280x720 ffmpeg Download

BANDWIDTH=1423000,RESOLUTION=1024x576 ffmpeg Download

BANDWIDTH=891000,RESOLUTION=640x360 ffmpeg Download

BANDWIDTH=560000,RESOLUTION=480x270 ffmpeg Download

BANDWIDTH=248000,RESOLUTION=402x226,CODECS="avc1.66.30, mp4a.40.2" ffmpeg Download

BANDWIDTH=179000,RESOLUTION=402x226,CODECS="avc1.66.30, mp4a.40.2" ffmpeg Download

BANDWIDTH=29000,CODECS="mp4a.40.2" ffmpeg Download.

Directly with ffmpeg it shows an error but you can download the crypt.key, and the chunks and use then ffmpeg.

An example of m3u8 for the maximum quality

https://fbchdvod-f.akamaihd.net/i/Fox.com/720/715/AmericanDad_7AJN13_,250,180,130,80,50,30,22,15,0.m p4.csmil/index_0_av.m3u8?null=&id=AgCOAIT2pf4ahx29I1LSJM0Png%2fqSau1izaoAd0DBumAH cweSaodcb7rw2aMeGZWMNDJS2ldMorMWg%3d%3d

Note that you must use 2 cookies to get this file, ahead of the https connection:

hdntl and _alid_



Thank you for you kind help.

but how to get the m3u8 url ? a sniffer or the firefox web console ?

denobis
10-14-2013, 05:51 AM
link to the manifest m3u:

http://link.theplatform.com/s/fox.com/NQhFXl2eqzF1?mbr=true&manifest=m3u,

from the html inside

<ul class="group" rel="http://link.theplatform.com/s/fox.com/NQhFXl2eqzF1?mbr=true&amp;feed=Fox.com%20Metadata%20Fe ed">

http://www.fox.com/americandad/full-episodes/16757367/ricky-spanish

chap
10-14-2013, 12:41 PM
link to the manifest m3u:

http://link.theplatform.com/s/fox.com/NQhFXl2eqzF1?mbr=true&manifest=m3u,

from the html inside

<ul class="group" rel="http://link.theplatform.com/s/fox.com/NQhFXl2eqzF1?mbr=true&amp;feed=Fox.com%20Metadata%20Fe ed">

http://www.fox.com/americandad/full-episodes/16757367/ricky-spanish
I mean the options for ffmpeg
how to transfer headers?
example command

CristianoA
10-20-2013, 01:59 PM
can you explain it step-by-step ?

thanks

ehurdler
02-22-2014, 08:11 AM
can you explain it step-by-step ?

thanks

Did you ever get an explanation for your question here? I would also like to know more step by step instructions on how to do this. If you were ever given any info, could you please share it? Or if you figured this out and could give me step by step instructions that would be a great help to me.

Thank you