[youtube] fixup m4a_dash formats(closes #28165)
authorRemita Amine <remitamine@gmail.com>
Sun, 21 Feb 2021 09:24:58 +0000 (10:24 +0100)
committerRemita Amine <remitamine@gmail.com>
Sun, 21 Feb 2021 09:31:27 +0000 (10:31 +0100)
youtube_dl/extractor/youtube.py

index ff32758dffd2445ede5e0fdf063a5bc0cf707223..72d9fbbc6f9ecd768c34552d96b5dead0c4b80a3 100644 (file)
@@ -1603,6 +1603,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
                     # Youtube throttles chunks >~10M
                     'http_chunk_size': 10485760,
                 }
+                if dct.get('ext'):
+                    dct['container'] = dct['ext'] + '_dash'
             formats.append(dct)
 
         hls_manifest_url = streaming_data.get('hlsManifestUrl')