]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[vimeo] Fix redirection
authorpulpe <Pulpan3@gmail.com>
Tue, 28 Apr 2015 12:56:48 +0000 (14:56 +0200)
committerpulpe <Pulpan3@gmail.com>
Tue, 28 Apr 2015 12:56:48 +0000 (14:56 +0200)
youtube_dl/extractor/vimeo.py

index 9027f9dd6f87b9ff48e6d073675c014d607b0bda..398ca67c1128e57539e806e2adc12d010ed7a4bb 100644 (file)
@@ -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)