]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
Fixed an error downloading vimeo pro videos.
authorJacob Kaplan-Moss <jacob@jacobian.org>
Mon, 3 Jun 2013 23:03:59 +0000 (18:03 -0500)
committerJacob Kaplan-Moss <jacob@jacobian.org>
Mon, 3 Jun 2013 23:03:59 +0000 (18:03 -0500)
youtube_dl/InfoExtractors.py

index 9fbe6d62771d9289bc2f105678c9fa1c081f3cba..58d082648a79d52c085aa0ac194cf3f7a0f60141 100755 (executable)
@@ -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"]