aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2013-06-03 18:03:59 -0500
committerJacob Kaplan-Moss <jacob@jacobian.org>2013-06-03 18:03:59 -0500
commitc794cbbb19784a2cca88cad53f76fd837e74aa4a (patch)
tree76932d146504388a4e3402ed7dfa7b811fdbea11
parent418f734a5877bb2d5d9cabe2ee158d076a1ef2c7 (diff)
Fixed an error downloading vimeo pro videos.
-rwxr-xr-xyoutube_dl/InfoExtractors.py2
1 files changed, 1 insertions, 1 deletions
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"]