[youtube] Fix bug where not all hls formats were extracted

Bug introduced in 9297939ec3
pull/342/head
pukkandan 4 years ago
parent 135e6b93f4
commit 8d68ab98a7
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

@ -2107,7 +2107,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
r'/itag/(\d+)', f['url'], 'itag', default=None) r'/itag/(\d+)', f['url'], 'itag', default=None)
if itag: if itag:
f['format_id'] = itag f['format_id'] = itag
formats.append(f) formats.append(f)
if self.get_param('youtube_include_dash_manifest', True): if self.get_param('youtube_include_dash_manifest', True):
for sd in (streaming_data, ytm_streaming_data): for sd in (streaming_data, ytm_streaming_data):

Loading…
Cancel
Save