projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a0f0c2
)
[vimeo] Fix redirection
author
pulpe
<Pulpan3@gmail.com>
Tue, 28 Apr 2015 12:56:48 +0000
(14:56 +0200)
committer
pulpe
<Pulpan3@gmail.com>
Tue, 28 Apr 2015 12:56:48 +0000
(14:56 +0200)
youtube_dl/extractor/vimeo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vimeo.py
b/youtube_dl/extractor/vimeo.py
index 9027f9dd6f87b9ff48e6d073675c014d607b0bda..398ca67c1128e57539e806e2adc12d010ed7a4bb 100644
(file)
--- 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)