mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-09-08 21:45:05 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
f9f86b0c64
|
@ -66,6 +66,7 @@ __authors__ = (
|
||||||
'Naglis Jonaitis',
|
'Naglis Jonaitis',
|
||||||
'Charles Chen',
|
'Charles Chen',
|
||||||
'Hassaan Ali',
|
'Hassaan Ali',
|
||||||
|
'Dobrosław Żybort',
|
||||||
)
|
)
|
||||||
|
|
||||||
__license__ = 'Public Domain'
|
__license__ = 'Public Domain'
|
||||||
|
|
|
@ -276,7 +276,7 @@ class VimeoIE(VimeoBaseInfoExtractor, SubtitlesInfoExtractor):
|
||||||
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
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
|
|
||||||
__version__ = '2014.08.02.1'
|
__version__ = '2014.08.05'
|
||||||
|
|
Loading…
Reference in a new issue