1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 19:52:11 +00:00

[extractor/common] _extract_f4m_formats: Use more specific messages when downloading the manifest

This commit is contained in:
Jaime Marquínez Ferrándiz 2014-07-28 15:42:19 +02:00
parent 31bb8d3f51
commit f036a6328e

View file

@ -592,7 +592,9 @@ class InfoExtractor(object):
time.sleep(timeout) time.sleep(timeout)
def _extract_f4m_formats(self, manifest_url, video_id): def _extract_f4m_formats(self, manifest_url, video_id):
manifest = self._download_xml(manifest_url, video_id) manifest = self._download_xml(
manifest_url, video_id, 'Downloading f4m manifest',
'Unable to download f4m manifest')
formats = [] formats = []
for media_el in manifest.findall('{http://ns.adobe.com/f4m/1.0}media'): for media_el in manifest.findall('{http://ns.adobe.com/f4m/1.0}media'):