mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-31 02:52:51 +08:00
[YoutubeDL] Fix video+audio format_id (Closes #4824)
This commit is contained in:
parent
91755ee384
commit
6d593c3276
@ -1074,7 +1074,8 @@ class YoutubeDL(object):
|
|||||||
selected_format = {
|
selected_format = {
|
||||||
'requested_formats': formats_info,
|
'requested_formats': formats_info,
|
||||||
'format': rf,
|
'format': rf,
|
||||||
'format_id': rf,
|
'format_id': '%s+%s' % (formats_info[0].get('format_id'),
|
||||||
|
formats_info[1].get('format_id')),
|
||||||
'width': formats_info[0].get('width'),
|
'width': formats_info[0].get('width'),
|
||||||
'height': formats_info[0].get('height'),
|
'height': formats_info[0].get('height'),
|
||||||
'resolution': formats_info[0].get('resolution'),
|
'resolution': formats_info[0].get('resolution'),
|
||||||
|
Loading…
Reference in New Issue
Block a user