From: Jacob Kaplan-Moss Date: Mon, 3 Jun 2013 23:03:59 +0000 (-0500) Subject: Fixed an error downloading vimeo pro videos. X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=c794cbbb19784a2cca88cad53f76fd837e74aa4a;p=youtube-dl Fixed an error downloading vimeo pro videos. --- diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 9fbe6d627..58d082648 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -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"]