A feature-rich command-line audio/video downloader
[YoutubeDL] Fix format resolution when height is missing
Sergey M․388ae76b52ff
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.pyindex 3cabfbc032..e5b75f0f5c 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 = defaultreturn res