Browse Source

[youtube] fixup m4a_dash formats(closes #28165)

Remita Amine 4 years ago
parent
commit
3037ab00c7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      youtube_dl/extractor/youtube.py

+ 2 - 0
youtube_dl/extractor/youtube.py

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