aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpulpe <Pulpan3@gmail.com>2015-04-28 14:56:48 +0200
committerpulpe <Pulpan3@gmail.com>2015-04-28 14:56:48 +0200
commit10831b5ec9158f2de5b16b66520d9dde02b97d77 (patch)
treecc0388185eed4d224cfd90a3c556349a6c802316
parent3a0f0c263a9c6e2a3e81fc97f59a5960fd5ee994 (diff)
[vimeo] Fix redirection
-rw-r--r--youtube_dl/extractor/vimeo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py
index 9027f9dd6..398ca67c1 100644
--- a/youtube_dl/extractor/vimeo.py
+++ b/youtube_dl/extractor/vimeo.py
@@ -223,6 +223,8 @@ class VimeoIE(VimeoBaseInfoExtractor):
orig_url = url
if mobj.group('pro') or mobj.group('player'):
url = 'https://player.vimeo.com/video/' + video_id
+ else:
+ url = 'https://vimeo.com/' + video_id
# Retrieve video webpage to extract further information
request = compat_urllib_request.Request(url, None, headers)