projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
548f31d
)
[vimeo] Ignore video 'base' thumbnail (Closes #3438)
author
Dobrosław Żybort
<matrixik@gmail.com>
Mon, 4 Aug 2014 19:37:36 +0000
(21:37 +0200)
committer
Dobrosław Żybort
<matrixik@gmail.com>
Mon, 4 Aug 2014 19:37:36 +0000
(21:37 +0200)
youtube_dl/extractor/vimeo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vimeo.py
b/youtube_dl/extractor/vimeo.py
index 10844f39e68180eba148a09f87b588df8c2b8a03..11c7d7e817f1f0839604311534dd918b5b5e4fee 100644
(file)
--- 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