Browse Source

Merge remote-tracking branch 'upstream/master'

totalwebcasting
rupertbaxter2 10 years ago
parent
commit
f9f86b0c64
3 changed files with 3 additions and 2 deletions
  1. +1
    -0
      youtube_dl/__init__.py
  2. +1
    -1
      youtube_dl/extractor/vimeo.py
  3. +1
    -1
      youtube_dl/version.py

+ 1
- 0
youtube_dl/__init__.py View File

@ -66,6 +66,7 @@ __authors__ = (
'Naglis Jonaitis',
'Charles Chen',
'Hassaan Ali',
'Dobrosław Żybort',
)
__license__ = 'Public Domain'


+ 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


+ 1
- 1
youtube_dl/version.py View File

@ -1,2 +1,2 @@
__version__ = '2014.08.02.1'
__version__ = '2014.08.05'

Loading…
Cancel
Save