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

Bug introduced in 9297939ec3
This commit is contained in:
pukkandan 2021-05-23 03:08:11 +05:30
parent 135e6b93f4
commit 8d68ab98a7
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View file

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