Adobe HDS Downloaderi am starting this new thread to continue previously deleted thread. you can ask AdobeHDS script related questions here instead of PM'ing me.
Code:
https://github.com/K-S-V/Scripts Code:
https://github.com/K-S-V/Scripts/wiki HDS Link Detector add-on for Firefox: i have also written a pretty basic Firefox add-on to auto-detect HDS link and generate proper command line which you can simply paste in command prompt. whenever a link is detected it shows a notification which remains visible for few seconds. clicking on this notification will copy the generated command to clipboard. i have tested it with pluzz.fr, fora.tv, nrk.no and few other sites and it seems to work pretty well. though i have no intention to work on it any further it still serves as a good cross-platform helper tool to easily grab HDS videos. feedback welcome. Code:
https://addons.mozilla.org/firefox/addon/hds-link-detector/ Changelog: Quote:
|
Re: Adobe HDS DownloaderPost stickied - thank you KSV
|
Re: Adobe HDS Downloader@ Stream Ripper, do you care to explain why this very important thread is being repeatedly deleted? This is absolutely unacceptable, and even worse with no backups.
|
Re: Adobe HDS Downloaderfirst post has been updated.
|
Re: Adobe HDS DownloaderQuote:
@KSV I sent you PM about AdobeHDS delay bug, I hope you will be able to fix it. ;) |
Re: Adobe HDS DownloaderKSV,
Is there a way to work around the auth that keeps constantly changing? Im trying to download and after the package number 8 it seems that the access autentication change. |
Re: Adobe HDS Downloader@KSV
Great script. It works on pretty much any f4m out there, including the ones needing proxy. Under proxy, the stream has some lagging or buffering, which is expected, but overall it works. One of the most useful pieces of software in the field. ![]() |
Re: Adobe HDS DownloaderQuote:
|
Re: Adobe HDS Downloaderwhen I tried to apply it to palemoon, it says not compatible with palemoon 15.3.2
|
Re: Adobe HDS DownloaderHi All,
I have installed PHP and the Firefox extension. I get the link in my clipboard and run it from the command line, but all that happens is a lot of text flashes by and nothing downloads. I never see the "Adobe HDS" title or anything remotely resembling what I have seen in screenshots here. Even just tried running "AdobeHDS.php --update" and it does not seem to do anything. So I tried adding "--debug 2 > debug.txt", the resulting debug.txt file is actually an html copy of the GitHub Scripts / AdobeHDS.php listing? I am running PHP 5.4 on Win8. Any idea what I might be doing wrong? Thanks, Dave |
Re: Adobe HDS DownloaderYou use a copy of the webpage as AdobeHDS.php. You should look for the zip-link at https://github.com/K-S-V/Scripts.
|
Re: Adobe HDS DownloaderThis is really nice piece of code. Thanks!
Any change you could add --header option so i could use "X-Forwarded-For" request header. |
Re: Adobe HDS DownloaderQuote:
Quote:
Quote:
Quote:
Code:
function headers() |
Re: Adobe HDS DownloaderQuote:
|
Re: Adobe HDS DownloaderCode:
php AdobeHDS.php --manifest "http://cdnvh20.cers.com.br/z/1686_120312_OAB_1_FASE_X_EXAME_D_AMBIENTAL_AULA_01_Pt_III_OK.mp4/manifest.f4m?hdnea=st=1358367519~exp=1358367659~acl=/*~id=aumd9k8ne4qo16g0qumh1deh76~hmac=96175f9b01449c9520d4c2fb5c021f6da1270b621f44ecbae07a75d9fd662eb5&hdcore=2.11.3&g=KHAPICXOXLKI" --delete --auth "pvtoken=exp%3D9999999999%7Eacl%3D%252f%252a%7Edata%3DZXhwPTEzNTg0NTM5MjJ+YWNsPSUyZip+ZGF0YT1wdmMsc35obWFjPWZmOGZhZmY2MDIwNzhiMjVkY2VmNmFjYmM0YjA5NzgwN2I1M2ZkMWEyM2QzZmEyNjE4NGIzYzExYzYyMWVkYjA%3D%21s89x42iJxsXVhAOpg7fnHAzKts3OjahmXO+ITcZGShk%3D%7Ehmac%3D8C0DD78CE40ABFC6371C96C11991BEB7551F3A15EE99912415EE6A68359A21DB&hdntl=exp=1358453922~acl=%2f*~data=hdntl~hmac=51f2a8933d6aeca90f6e36a5b6cd965c4dc39b2d013e17cf94441f860216c7cd&als=0,0.1,0,0,0,NaN,0,0,0,29,f,0,1774.56,f,s,KHAPICXOXLKI,2.11.3,29&hdcore=2.11.3" --useragent "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0" Unknow packet type 11 encontered! Encriypted fragments can't be recovered. Someone could help? |
Re: Adobe HDS DownloaderYou can't get as it's encrypted with DRM.
|
Re: Adobe HDS DownloaderHow could you make it , watch bbc without using a proxy, while still not in GB?
Can you share your way with me ? |
Re: Adobe HDS DownloaderQuote:
2. Add following line: Code:
$headers[] = 'X-Forwarded-For: 1.2.3.4'; 4. Save. That's it. |
Re: Adobe HDS DownloaderQuote:
|
Re: Adobe HDS DownloaderQuote:
My operate system is winxp. so ,what need I do next , after putting the code in to Adobehds.php ? |
Re: Adobe HDS DownloaderQuote:
https://github.com/K-S-V/Scripts/wiki |
Re: Adobe HDS DownloaderI am able to download videos by using adobehds .php, but I have no clue to watch bbc with it.
The wiki tells how to get videos and even says how to play the video with a certain player. But how can I use it to watch iplayer from BBC on the iplayer site ? I have no clue. Please help me . I need a step-by-step guide. |
Re: Adobe HDS DownloaderQuote:
Here's example how to watch BBC One with VLC: http://pastebin.com/H5YhRHhn |
Re: Adobe HDS Downloader@coolboy
you have downloaded the html page showing the script instead of script itself. click the raw button before saving script or just download the zip file. |
Re: Adobe HDS Downloader1 Attachment(s)
Quote:
Now it says the curl extension is not installed! I've attached the php.ini file. Thanks |
Re: Adobe HDS Downloader |
Re: Adobe HDS DownloaderQuote:
The link for the download of php was broken, so I've used the http://fossies.org/windows/www/php-5...2-VC9-x86.zip/ instead. Thank you very much - it's a super fast app :) Best regards coolboy |
Re: Adobe HDS DownloaderQuote:
But how can I get the url ended with .f4m ? When I go to bbc iplayer, and press the play button, the web console of firefox finds no link like that. |
Re: Adobe HDS DownloaderQuote:
|
Re: Adobe HDS DownloaderQuote:
I went to http://www.bbc.co.uk/iplayer/episode...Lands_of_Gold/ And I got two links concerning media http://www.bbc.co.uk/mediaselector/4...tream/p00pvbh0 http://www.bbc.co.uk/mediaselector/4...tream/b01qbylx Opened it up, I got something like : Code:
<mediaSelection><!--This code and data form part of the BBC iPlayer content protection system. Tampering with, removal of, misuse of, or unauthorised use of this code or data constitutes circumvention of the BBC's content protection measures and may result in legal action. BBC (C) 2012.--><media bitrate="276" encoding="h264" expires="2013-02-11T21:59:00+00:00" height="176" kind="video" media_file_size="101112702" service="iplayer_streaming_n95_wifi" type="video/mp4" width="320"><connection href="http://3gp-acl.bbc.co.uk/sdpgen/3gpclip/iPlayer/prod_3gp_mpeg4_med/wifi_Lost_Kingdoms_of_South_America_Episode_3_b01qbylx_1359407568.mp4" identifier="sdpgen/3gpclip/iPlayer/prod_3gp_mpeg4_med/wifi_Lost_Kingdoms_of_South_America_Episode_3_b01qbylx_1359407568.mp4" kind="sis" priority="5" protocol="http" server="http://3gp-acl.bbc.co.uk" supplier="sis"/></media><media bitrate="480" encoding="h264" expires="2013-02-11T21:59:00+00:00" height="360" kind="video" media_file_size="198046527" service="iplayer_streaming_h264_flv_lo" type="video/mp4" width="640"><connection application="ondemand" authExpires="2013-01-30T02:05:04+00:00" authString="auth=daEaFbqcZbBaFb3a9dhbvahafc8d.bmaFaC-brcgPX-bWG-CorFBoDnGCsEozJ&aifp=v001&slist=secure/480kbps/MP/b01qbylx_1359407568.mp4;secure/1500kbps/MP/b01qbylx_1359407261.mp4;secure/800kbps/MP/b01qbylx_1359407568.mp4;secure/400kbps/b01qbylx_1359407568.mp4" identifier="mp4:secure/480kbps/MP/b01qbylx_1359407568.mp4" kind="akamai" priority="5" protocol="rtmp" server="cp41752.edgefcs.net" supplier="akamai"/><connection application="a1414/e3" authExpires="2013-01-30T02:19:50+00:00" authString="as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/480kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/1500kbps/MP/b01qbylx_1359407261.mp4,iplayerstream/secure_auth/800kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/400kbps/b01qbylx_1359407568.mp4&et=1359513233&fmta-token=1321971c183e025ab502ee11c22c97e4ce067b49839b78a5af5f7c8dc914e434" dpw="60" identifier="mp4:iplayerstream/secure_auth/480kbps/MP/b01qbylx_1359407568.mp4" kind="limelight" priority="10" protocol="rtmp" server="bbcmedia.fcod.llnwd.net" supplier="limelight"/></media><media expires="2013-02-11T21:59:00+00:00" kind="captions" media_file_size="106499" service="captions" type="application/ttaf+xml"><connection href="http://www.bbc.co.uk/iplayer/subtitles/ng/l/x/b01qbylx_1359394114.xml" identifier="ng/l/x/b01qbylx_1359394114.xml" kind="http" priority="10" protocol="http" server="http://www.bbc.co.uk/iplayer/subtitles/" supplier="sis"/></media><media bitrate="1500" encoding="h264" expires="2013-02-11T21:59:00+00:00" height="468" kind="video" media_file_size="664536158" service="iplayer_streaming_h264_flv_high" type="video/mp4" width="832"><connection authExpires="2013-01-30T02:05:04+00:00" authString="auth=daEaFbqcZbBaFb3a9dhbvahafc8d.bmaFaC-brcgPX-bWG-CorFBoDnGCsEozJ&aifp=v001&slist=secure/480kbps/MP/b01qbylx_1359407568.mp4;secure/1500kbps/MP/b01qbylx_1359407261.mp4;secure/800kbps/MP/b01qbylx_1359407568.mp4;secure/400kbps/b01qbylx_1359407568.mp4" identifier="mp4:secure/1500kbps/MP/b01qbylx_1359407261.mp4" kind="akamai" priority="5" protocol="rtmp" server="cp41752.edgefcs.net" supplier="akamai"/><connection application="a1414/e3" authExpires="2013-01-30T02:19:50+00:00" authString="as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/480kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/1500kbps/MP/b01qbylx_1359407261.mp4,iplayerstream/secure_auth/800kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/400kbps/b01qbylx_1359407568.mp4&et=1359513233&fmta-token=1321971c183e025ab502ee11c22c97e4ce067b49839b78a5af5f7c8dc914e434" dpw="60" identifier="mp4:iplayerstream/secure_auth/1500kbps/MP/b01qbylx_1359407261.mp4" kind="limelight" priority="10" protocol="rtmp" server="bbcmedia.fcod.llnwd.net" supplier="limelight"/></media><media bitrate="796" encoding="h264" expires="2013-02-11T21:59:00+00:00" height="360" kind="video" media_file_size="352773965" service="iplayer_streaming_h264_flv" type="video/mp4" width="640"><connection authExpires="2013-01-30T02:05:04+00:00" authString="auth=daEaFbqcZbBaFb3a9dhbvahafc8d.bmaFaC-brcgPX-bWG-CorFBoDnGCsEozJ&aifp=v001&slist=secure/480kbps/MP/b01qbylx_1359407568.mp4;secure/1500kbps/MP/b01qbylx_1359407261.mp4;secure/800kbps/MP/b01qbylx_1359407568.mp4;secure/400kbps/b01qbylx_1359407568.mp4" identifier="mp4:secure/800kbps/MP/b01qbylx_1359407568.mp4" kind="akamai" priority="5" protocol="rtmp" server="cp41752.edgefcs.net" supplier="akamai"/><connection application="a1414/e3" authExpires="2013-01-30T02:19:50+00:00" authString="as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/480kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/1500kbps/MP/b01qbylx_1359407261.mp4,iplayerstream/secure_auth/800kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/400kbps/b01qbylx_1359407568.mp4&et=1359513233&fmta-token=1321971c183e025ab502ee11c22c97e4ce067b49839b78a5af5f7c8dc914e434" dpw="60" identifier="mp4:iplayerstream/secure_auth/800kbps/MP/b01qbylx_1359407568.mp4" kind="limelight" priority="10" protocol="rtmp" server="bbcmedia.fcod.llnwd.net" supplier="limelight"/></media><media bitrate="396" encoding="h264" expires="2013-02-11T21:59:00+00:00" height="224" kind="video" media_file_size="160819264" service="iplayer_streaming_h264_flv_vlo" type="video/mp4" width="400"><connection application="ondemand" authExpires="2013-01-30T02:05:04+00:00" authString="auth=daEaFbqcZbBaFb3a9dhbvahafc8d.bmaFaC-brcgPX-bWG-CorFBoDnGCsEozJ&aifp=v001&slist=secure/480kbps/MP/b01qbylx_1359407568.mp4;secure/1500kbps/MP/b01qbylx_1359407261.mp4;secure/800kbps/MP/b01qbylx_1359407568.mp4;secure/400kbps/b01qbylx_1359407568.mp4" identifier="mp4:secure/400kbps/b01qbylx_1359407568.mp4" kind="akamai" priority="5" protocol="rtmp" server="cp41752.edgefcs.net" supplier="akamai"/><connection application="a1414/e3" authExpires="2013-01-30T02:19:50+00:00" authString="as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/480kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/1500kbps/MP/b01qbylx_1359407261.mp4,iplayerstream/secure_auth/800kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/400kbps/b01qbylx_1359407568.mp4&et=1359513233&fmta-token=1321971c183e025ab502ee11c22c97e4ce067b49839b78a5af5f7c8dc914e434" dpw="60" identifier="mp4:iplayerstream/secure_auth/400kbps/b01qbylx_1359407568.mp4" kind="limelight" priority="10" protocol="rtmp" server="bbcmedia.fcod.lln Where can I find the correct link ? |
Re: Adobe HDS DownloaderQuote:
Code:
C:\Documents and Settings\Administrator>php -v Code:
C:\Documents and Settings\Administrator>php AdobeHDS.php --manifest "http://stre |
Re: Adobe HDS DownloaderQuote:
But no worries here's how-to example: http://pastebin.com/8Tfpwgsx If that seems too complicated use RTMPExploreX to download. https://github.com/andr3jx/RTMPExploreX Edit: Quote:
Quote:
|
Re: Adobe HDS DownloaderQuote:
|
Re: Adobe HDS DownloaderHi KSV,
what tools do you need to try to break the encryption of HDS? I may give it a try. I feel that it is important to enable playback on platforms without flash (FreeBSD etc.) |
Re: Adobe HDS DownloaderWhat´s the problem? What is wrong?
Code:
C:\PHP>php AdobeHDS.php --manifest "http://cdnvh20.cers.com.br/z/1463_10041 |
Re: Adobe HDS Downloader@ont
Video is encrypted with DRM, you can't decode it without specific key. |
Re: Adobe HDS DownloaderHow do I download the following video:
Code:
Video Direct link: Code:
[05:16:44.309] GET http://nrkclip3c-f.akamaihd.net/z/wo/open/b3/b3b9ad4bee6d0fc801f5ad56687708f38833ae63/b3b9ad4bee6d0fc801f5ad56687708f38833ae63_,141,316,563,1266,2250,.mp4.csmil/manifest.f4m?hdcore=2.11.3&g=LWTEUZLARMDH [HTTP/1.0 200 OK 158ms] |
Re: Adobe HDS DownloaderQuote:
Code:
php AdobeHDS.php --manifest "http://nrkclip3c-f.akamaihd.net/z/wo/open/b3/b3b9ad4bee6d0fc801f5ad56687708f38833ae63/b3b9ad4bee6d0fc801f5ad56687708f38833ae63_,141,316,563,1266,2250,.mp4.csmil/manifest.f4m?hdcore=2.11.3&g=THURWHPRNYNI" --delete --auth "als=0,0.1,0,3,0,NaN,0,0,0,41,f,0,31.81,f,s,THURWHPRNYNI,2.11.3,41&hdcore=2.11.3" --useragent "Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0" Code:
KSV Adobe HDS Downloader |
Re: Adobe HDS Downloader@IV
following is the info i posted long ago in now deleted thread. This is only related to custom encryption used by Akamai CDN (Packet type 10 & 11) not FlashAccess DRM (Packet type 40 & 41). ========== I am just posting it publicly. this info is based on actual reversing i tried few months ago. global key is different for each session. SessionID and KeyUrl are not of much relevance because they are only used to retrieve GlobalKey. mysterious salt block in each packet header can be broken into 4 different blocks. first was always 01 and third block was always all zeros. Code:
SessionID: 010075cd3e8441c5f40f4427ae4f93e8b2b00a1b6740eda2fd0049958d1532318bd1423ec94a2c3f4074ede220dd615b9d588f6ad1ef ========== |
All times are GMT -6. The time now is 04:19 PM. |