0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-04 23:35:04 +00: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 @@ def _real_extract(self, url):
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'