[dfb] Fix f4m manifest URL
authorSergey M․ <dstftw@gmail.com>
Sat, 16 Aug 2014 19:07:04 +0000 (02:07 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 16 Aug 2014 19:07:04 +0000 (02:07 +0700)
youtube_dl/extractor/dfb.py

index cb8e0682240bfed9a56a58490f18989f33fef71d..8049779b0a31049f704bae256a3752a9a22ad789 100644 (file)
@@ -30,7 +30,7 @@ class DFBIE(InfoExtractor):
             video_id)
         video_info = player_info.find('video')
 
-        f4m_info = self._download_xml(video_info.find('url').text, video_id)
+        f4m_info = self._download_xml(self._proto_relative_url(video_info.find('url').text.strip()), video_id)
         token_el = f4m_info.find('token')
         manifest_url = token_el.attrib['url'] + '?' + 'hdnea=' + token_el.attrib['auth'] + '&hdcore=3.2.0'