From: pulpe Date: Tue, 28 Apr 2015 12:56:48 +0000 (+0200) Subject: [vimeo] Fix redirection X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=10831b5ec9158f2de5b16b66520d9dde02b97d77;p=youtube-dl [vimeo] Fix redirection --- 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)