From: Jaime Marquínez Ferrándiz Date: Wed, 14 Oct 2015 11:41:39 +0000 (+0200) Subject: [vimeo] Fix extraction of password protected videos (fixes #7169) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=1f36085df94c2addd1175e7e299f6235aca3ac68;p=youtube-dl [vimeo] Fix extraction of password protected videos (fixes #7169) --- diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py index 027f47ee3..fa1b22049 100644 --- a/youtube_dl/extractor/vimeo.py +++ b/youtube_dl/extractor/vimeo.py @@ -212,7 +212,7 @@ class VimeoIE(VimeoBaseInfoExtractor): url = url.replace('http://', 'https://') password_request = compat_urllib_request.Request(url + '/password', data) password_request.add_header('Content-Type', 'application/x-www-form-urlencoded') - password_request.add_header('Cookie', 'clip_v=1; vuid=%s' % vuid) + password_request.add_header('Cookie', 'clip_test2=1; vuid=%s' % vuid) password_request.add_header('Referer', url) return self._download_webpage( password_request, video_id,