diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-05-18 19:15:11 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-05-18 19:31:17 +0530 |
commit | ff2751ac9cc7d4150797d3207da9b566396bc796 (patch) | |
tree | 8ea0298d036380984c32eacf979f83056552ed35 /yt_dlp/YoutubeDL.py | |
parent | abcdd12b26762c101e79f739557d4fbb1d83cc56 (diff) |
[youtube] Always extract `maxresdefault` thumbnail
Fixes: https://github.com/ytdl-org/youtube-dl/issues/29049
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-rw-r--r-- | yt_dlp/YoutubeDL.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index c2c270237..55bc49a9e 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -1944,7 +1944,8 @@ class YoutubeDL(object): t.get('preference') if t.get('preference') is not None else -1, t.get('width') if t.get('width') is not None else -1, t.get('height') if t.get('height') is not None else -1, - t.get('id') if t.get('id') is not None else '', t.get('url'))) + t.get('id') if t.get('id') is not None else '', + t.get('url'))) for i, t in enumerate(thumbnails): t['url'] = sanitize_url(t['url']) if t.get('width') and t.get('height'): |