1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-30 19:02:55 +01:00

[dfb] Fix f4m manifest URL

This commit is contained in:
Sergey M․ 2014-08-17 02:07:04 +07:00
parent 49807b4ac6
commit c1d293cfa6

View File

@ -30,7 +30,7 @@ class DFBIE(InfoExtractor):
video_id) video_id)
video_info = player_info.find('video') 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') token_el = f4m_info.find('token')
manifest_url = token_el.attrib['url'] + '?' + 'hdnea=' + token_el.attrib['auth'] + '&hdcore=3.2.0' manifest_url = token_el.attrib['url'] + '?' + 'hdnea=' + token_el.attrib['auth'] + '&hdcore=3.2.0'