1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

Merge pull request #864 from jacobian/vimeopro

Fixed an error downloading vimeo pro videos.
This commit is contained in:
Jaime Marquínez Ferrándiz 2013-06-04 10:15:12 -07:00
commit 1132c10dc2

View file

@ -1099,7 +1099,7 @@ class VimeoIE(InfoExtractor):
# Extract uploader and uploader_id # Extract uploader and uploader_id
video_uploader = config["video"]["owner"]["name"] video_uploader = config["video"]["owner"]["name"]
video_uploader_id = config["video"]["owner"]["url"].split('/')[-1] video_uploader_id = config["video"]["owner"]["url"].split('/')[-1] if config["video"]["owner"]["url"] else None
# Extract video thumbnail # Extract video thumbnail
video_thumbnail = config["video"]["thumbnail"] video_thumbnail = config["video"]["thumbnail"]