Scripts icon indicating copy to clipboard operation
Scripts copied to clipboard

Nothing downloaded for a site with a complicated URL structure

Open subnet142 opened this issue 8 years ago • 1 comments

I was trying to process via AdobeHDS.php a video on site: http://www.cecc.gov/events/hearings/tiananmen-at-25-enduring-influence-on-us-china-relations-and-china%E2%80%99s-political

The file name part of the fragment GETs issued by the flash player as noted on Firefox are quite messy. AdobeHDS.php fails with debug messages for all fragments similarly as: // Adding fragment 280122615 to download queue
Fragment 280122615 doesn't exist, Status: 404 Skipping failed fragment 280122615 // Many thanks for the help.

subnet142 avatar Jun 10 '17 16:06 subnet142

Oops, I am able to make a quick and dirty fix at the addDownload function: // function addDownload($url, $id) { $url = $url . '?hdcore=3.10.0&plugin=aasp-3.10.0.29.11'; ...... // I added the constant part of the dynamic URL string that I got from Firefox Tools network window. A sample full string: // https://srs-f.akamaihd-staging.net/z/cecc052014_1@76486/348_7e773c0ddc9a2e6d-p_Seg1-Frag280122754?als=302.8,300,2502.5,0,342,885016,14.96,79,0,91,f,391.63,7770.7,f,s,PBDLSRAMGRME,3.10.0,91&hdcore=3.10.0&plugin=aasp-3.10.0.29.11 // Not sure what's the correct fix though...

Hope it helps and thanks for a great tool.

subnet142 avatar Jun 10 '17 20:06 subnet142