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] Fix format resolution when height is missing
totalwebcasting
Sergey M․
9 years ago
parent
b67d63149d
commit
388ae76b52
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
youtube_dl/YoutubeDL.py
+ 1
- 1
youtube_dl/YoutubeDL.py
View File
@ -1798,7 +1798,7 @@ class YoutubeDL(object):
else
:
res
=
'
%s
p
'
%
format
[
'
height
'
]
elif
format
.
get
(
'
width
'
)
is
not
None
:
res
=
'
?x
%d
'
%
format
[
'
width
'
]
res
=
'
%d
x?
'
%
format
[
'
width
'
]
else
:
res
=
default
return
res
Write
Preview
Loading…
Cancel
Save