From: Sergey M. Date: Fri, 28 Feb 2014 10:43:54 +0000 (+0700) Subject: [vimeo] Fix thumbs extraction (Closes #2480) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=ca7fa3dcb321f3de429cac9e83fda737ac0be4c9;p=youtube-dl.git [vimeo] Fix thumbs extraction (Closes #2480) --- diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py index c5ee84807..ec6aad592 100644 --- a/youtube_dl/extractor/vimeo.py +++ b/youtube_dl/extractor/vimeo.py @@ -220,7 +220,7 @@ class VimeoIE(SubtitlesInfoExtractor): # Extract video thumbnail video_thumbnail = config["video"].get("thumbnail") - if video_thumbnail is None: + if video_thumbnail is None and config["video"].get("thumbs"): _, video_thumbnail = sorted((int(width), t_url) for (width, t_url) in config["video"]["thumbs"].items())[-1] # Extract video description