From c794cbbb19784a2cca88cad53f76fd837e74aa4a Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Mon, 3 Jun 2013 18:03:59 -0500 Subject: [PATCH] Fixed an error downloading vimeo pro videos. --- youtube_dl/InfoExtractors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"] -- 2.22.2