[youtube] fixup m4a_dash formats(closes #28165)

This commit is contained in:
Remita Amine 2021-02-21 10:24:58 +01:00
parent 21e872b19a
commit 3037ab00c7

View File

@ -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')