[youtube] Do not warn if DASH manifest is missing ()

This commit is contained in:
Philipp Hagemeister 2014-12-11 16:33:28 +01:00
parent 624dcebff6
commit 75111274ed

View File

@ -1010,9 +1010,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
# Look for the DASH manifest # Look for the DASH manifest
if self._downloader.params.get('youtube_include_dash_manifest', True): if self._downloader.params.get('youtube_include_dash_manifest', True):
dash_mpd = video_info.get('dashmpd') dash_mpd = video_info.get('dashmpd')
if not dash_mpd: if dash_mpd:
self.report_warning('%s: DASH manifest missing' % video_id)
else:
dash_manifest_url = dash_mpd[0] dash_manifest_url = dash_mpd[0]
try: try:
dash_formats = self._parse_dash_manifest( dash_formats = self._parse_dash_manifest(