mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-19 09:25:43 +00:00
[vimeo] Fix thumbs extraction (Closes #2480)
This commit is contained in:
parent
4ccfba28d9
commit
ca7fa3dcb3
@ -220,7 +220,7 @@ def _real_extract(self, url):
|
|||||||
|
|
||||||
# Extract video thumbnail
|
# Extract video thumbnail
|
||||||
video_thumbnail = config["video"].get("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]
|
_, video_thumbnail = sorted((int(width), t_url) for (width, t_url) in config["video"]["thumbs"].items())[-1]
|
||||||
|
|
||||||
# Extract video description
|
# Extract video description
|
||||||
|
Loading…
Reference in New Issue
Block a user