Browse Source

[vimeo] Ignore video 'base' thumbnail (Closes #3438)

totalwebcasting
Dobrosław Żybort 10 years ago
parent
commit
3e510af38d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/vimeo.py

+ 1
- 1
youtube_dl/extractor/vimeo.py View File

@ -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


Loading…
Cancel
Save