diff options
author | Dobrosław Żybort <matrixik@gmail.com> | 2014-08-04 21:37:36 +0200 |
---|---|---|
committer | Dobrosław Żybort <matrixik@gmail.com> | 2014-08-04 21:37:36 +0200 |
commit | 3e510af38d795aa3de2a86af5320f91656a7833b (patch) | |
tree | 8eb2056a56600ffbf00024ffab4d0f322101ca8e /youtube_dl/extractor | |
parent | 548f31d99c5439b1d9de849fe78e00341e887447 (diff) |
[vimeo] Ignore video 'base' thumbnail (Closes #3438)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/vimeo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py index 10844f39e..11c7d7e81 100644 --- a/youtube_dl/extractor/vimeo.py +++ b/youtube_dl/extractor/vimeo.py @@ -276,7 +276,7 @@ class VimeoIE(VimeoBaseInfoExtractor, SubtitlesInfoExtractor): if video_thumbnail is None: video_thumbs = config["video"].get("thumbs") if video_thumbs and isinstance(video_thumbs, dict): - _, video_thumbnail = sorted((int(width), t_url) for (width, t_url) in video_thumbs.items())[-1] + _, video_thumbnail = sorted((int(width if width.isdigit() else 0), t_url) for (width, t_url) in video_thumbs.items())[-1] # Extract video description video_description = None |