[youtube] Fix default value for youtube_include_dash_manifest (closes #28523)

This commit is contained in:
Sergey M․ 2021-03-24 02:57:35 +07:00
parent 8117d613ac
commit 5208ae92fc
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -1617,7 +1617,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
f['format_id'] = itag f['format_id'] = itag
formats.append(f) formats.append(f)
if self._downloader.params.get('youtube_include_dash_manifest'): if self._downloader.params.get('youtube_include_dash_manifest', True):
dash_manifest_url = streaming_data.get('dashManifestUrl') dash_manifest_url = streaming_data.get('dashManifestUrl')
if dash_manifest_url: if dash_manifest_url:
for f in self._extract_mpd_formats( for f in self._extract_mpd_formats(