aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/InfoExtractors.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-06-04 10:15:12 -0700
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-06-04 10:15:12 -0700
commit1132c10dc24e7063db73e1f6f57c08d138072c36 (patch)
treeaa07f4f3904c370f4f5413b9f16fe5646b749c33 /youtube_dl/InfoExtractors.py
parenteda60e8251fc41fadf243f10b681a69e8cf12a83 (diff)
parentc794cbbb19784a2cca88cad53f76fd837e74aa4a (diff)
Merge pull request #864 from jacobian/vimeopro
Fixed an error downloading vimeo pro videos.
Diffstat (limited to 'youtube_dl/InfoExtractors.py')
-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 fe3d12776..c24577cb7 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"]