K-S-V / Scripts

Collection of my scripts
GNU General Public License v3.0
635 stars 227 forks source link

AdobeHDS.php - Fragments aren't deleted when --delete #52

Closed jay closed 9 years ago

jay commented 9 years ago

I'm not sure if this is a bug or not but I'm downloading a video and the fragments aren't deleted even though --delete is specified on the command line. I debugged the code and $fragNum and $fragCount are both 0. #36 says the 0 fragments message is due to live streams, and that may be related to this.

The exact command I used was generated by your extension:

php AdobeHDS.php --manifest "http://intel-f.akamaihd.net/z/intel070815_1@76456/manifest.f4m?g=PEDHQMIZSBDJ&hdcore=3.1.0&plugin=aasp-3.1.0.43.124" --delete --auth "als=0,3,NaN,0,0,NaN,0,0,0,20,f,0,6555.29,f,s,PEDHQMIZSBDJ,3.1.0,20&hdcore=3.1.0&plugin=aasp-3.1.0.43.124" --useragent "Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Firefox/31.0"

Thanks for both your work on the script and the extension.