diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-02-11 22:46:13 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-02-11 22:46:13 +0600 |
commit | 388ae76b52ff85dba5c47f5958fbe3e662abd346 (patch) | |
tree | c67c23ce1f59948f547366b0b4a6b385b7974df9 /youtube_dl/YoutubeDL.py | |
parent | b67d63149d79f98a84bec0ecf8028282d523d1f2 (diff) |
[YoutubeDL] Fix format resolution when height is missing
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rwxr-xr-x | youtube_dl/YoutubeDL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 3cabfbc03..e5b75f0f5 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1798,7 +1798,7 @@ class YoutubeDL(object): else: res = '%sp' % format['height'] elif format.get('width') is not None: - res = '?x%d' % format['width'] + res = '%dx?' % format['width'] else: res = default return res |