|
|
@ -3789,15 +3789,13 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|
|
|
if single_stream and dct.get('ext'):
|
|
|
|
if single_stream and dct.get('ext'):
|
|
|
|
dct['container'] = dct['ext'] + '_dash'
|
|
|
|
dct['container'] = dct['ext'] + '_dash'
|
|
|
|
|
|
|
|
|
|
|
|
if dct['filesize']:
|
|
|
|
if all_formats and dct['filesize']:
|
|
|
|
yield {
|
|
|
|
yield {
|
|
|
|
**dct,
|
|
|
|
**dct,
|
|
|
|
'format_id': f'{dct["format_id"]}-dashy' if all_formats else dct['format_id'],
|
|
|
|
'format_id': f'{dct["format_id"]}-dashy' if all_formats else dct['format_id'],
|
|
|
|
'protocol': 'http_dash_segments',
|
|
|
|
'protocol': 'http_dash_segments',
|
|
|
|
'fragments': build_fragments(dct),
|
|
|
|
'fragments': build_fragments(dct),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if not all_formats:
|
|
|
|
|
|
|
|
continue
|
|
|
|
|
|
|
|
dct['downloader_options'] = {'http_chunk_size': CHUNK_SIZE}
|
|
|
|
dct['downloader_options'] = {'http_chunk_size': CHUNK_SIZE}
|
|
|
|
yield dct
|
|
|
|
yield dct
|
|
|
|
|
|
|
|
|
|
|
|