]> jfr.im git - yt-dlp.git/commitdiff
[youtube] Fix bug where not all hls formats were extracted
authorpukkandan <redacted>
Sat, 22 May 2021 21:38:11 +0000 (03:08 +0530)
committerpukkandan <redacted>
Sat, 22 May 2021 22:23:17 +0000 (03:53 +0530)
Bug introduced in 9297939ec358f24678b566b2bd2211c51f9f99ed

yt_dlp/extractor/youtube.py

index e5764210b24524527de26ae3f1c04ae16220722a..914129c031c0703fbd2e56755f0abc4237be36f0 100644 (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):