This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[YoutubeDL] Set format_id for video+audio (
Closes
#3634
)
totalwebcasting
Sergey M․
10 years ago
parent
63be3b8989
commit
dcf53d4408
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
youtube_dl/YoutubeDL.py
+ 1
- 0
youtube_dl/YoutubeDL.py
View File
@ -1074,6 +1074,7 @@ class YoutubeDL(object):
selected_format
=
{
'
requested_formats
'
:
formats_info
,
'
format
'
:
rf
,
'
format_id
'
:
rf
,
'
ext
'
:
formats_info
[
0
]
[
'
ext
'
]
,
'
width
'
:
formats_info
[
0
]
.
get
(
'
width
'
)
,
'
height
'
:
formats_info
[
0
]
.
get
(
'
height
'
)
,
Write
Preview
Loading…
Cancel
Save