summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M. <[email protected]>2014-02-28 17:43:54 +0700
committerSergey M. <[email protected]>2014-02-28 17:43:54 +0700
commitca7fa3dcb321f3de429cac9e83fda737ac0be4c9 (patch)
treee9f16c2404a60065d2a41c05d6d07b9331590016
parent4ccfba28d9594157b061c5173832f489c4af416f (diff)
downloadyoutube-dl-ca7fa3dcb321f3de429cac9e83fda737ac0be4c9.tar.gz
youtube-dl-ca7fa3dcb321f3de429cac9e83fda737ac0be4c9.zip
[vimeo] Fix thumbs extraction (Closes #2480)
-rw-r--r--youtube_dl/extractor/vimeo.py2
1 files changed, 1 insertions, 1 deletions
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