From ca7fa3dcb321f3de429cac9e83fda737ac0be4c9 Mon Sep 17 00:00:00 2001 From: "Sergey M." Date: Fri, 28 Feb 2014 17:43:54 +0700 Subject: [PATCH] [vimeo] Fix thumbs extraction (Closes #2480) --- youtube_dl/extractor/vimeo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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