mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[vimeo] Ignore video 'base' thumbnail (Closes #3438)
This commit is contained in:
parent
548f31d99c
commit
3e510af38d
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ def _real_extract(self, url):
|
||||||
if video_thumbnail is None:
|
if video_thumbnail is None:
|
||||||
video_thumbs = config["video"].get("thumbs")
|
video_thumbs = config["video"].get("thumbs")
|
||||||
if video_thumbs and isinstance(video_thumbs, dict):
|
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
|
# Extract video description
|
||||||
video_description = None
|
video_description = None
|
||||||
|
|
Loading…
Reference in a new issue