1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 18:22:21 +00:00

Fixed an error downloading vimeo pro videos.

This commit is contained in:
Jacob Kaplan-Moss 2013-06-03 18:03:59 -05:00
parent 418f734a58
commit c794cbbb19

View file

@ -1099,7 +1099,7 @@ class VimeoIE(InfoExtractor):
# Extract uploader and uploader_id
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
video_thumbnail = config["video"]["thumbnail"]