Browse Source

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

totalwebcasting
Philipp Hagemeister 10 years ago
parent
commit
75111274ed
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      youtube_dl/extractor/youtube.py

+ 1
- 3
youtube_dl/extractor/youtube.py 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:
self.report_warning('%s: DASH manifest missing' % video_id)
else:
if dash_mpd:
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(


Loading…
Cancel
Save