K-S-V / Scripts

Collection of my scripts
GNU General Public License v3.0
634 stars 226 forks source link

Failed to load xml (error line 595) #73

Closed tharsim closed 8 years ago

tharsim commented 8 years ago

Trying to get the manifest.f4m but at the end I'll get a "Failed to load xml" error, as follows:

$ php adobehds.php --manifest "http://flacaccess-f.akamaihd.net/z/Access/FLAC_FOD_BRA/572/175/631959107641_4056000_1456774889314.f4m/4060_a9260b193a8a6a40_Seg1-Frag5?hdntl=exp=1457271509~acl=%2fz%2fAccess%2fFLAC_FOD_BRA%2f572%2f175%2f631959107641_4056000_1456774889314.f4m*~data=hdntl~hmac=4a208dd5d5358f083fea1b0f4a23ba87402864cecda985fa99693579c49767f0&hdcore=2.8&als=9.09,5,0.28,5,4120,1037,31.45,6,0,124,f,14.91,2568.9,f,s,FGSLNEDAMSDI,3.5.0,12"

                            KSV Adobe HDS Downloader

Processing manifest info....
PHP Warning:  simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in C:\VIDEOING\AdobeHDS\AdobeHDS.php on line 595

Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in C:\VIDEOING\AdobeHDS\AdobeHDS.php on line 595
PHP Warning:  simplexml_load_string(): ïabst in C:\VIDEOING\AdobeHDS\AdobeHDS.php on line 595

Warning: simplexml_load_string(): ïabst in C:\VIDEOING\AdobeHDS\AdobeHDS.php on line 595
PHP Warning:  simplexml_load_string(): ^ in C:\VIDEOING\AdobeHDS\AdobeHDS.php on line 595

Warning: simplexml_load_string(): ^ in C:\VIDEOING\AdobeHDS\AdobeHDS.php on line 595
Failed to load xml

Thanks for any attempt to help.

K-S-V commented 8 years ago

You are providing the fragment url to --manifest switch instead of manifest url.

631959107641_4056000_1456774889314.f4m/4060_a9260b193a8a6a40_Seg1-Frag5

I would recommend to use my Firefox add-on (HDS Link Detector) for generating proper command line for the script.