[vimeo] Use https for player.vimeo.com urls (closes #5147)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 6 Mar 2015 21:39:05 +0000 (22:39 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 6 Mar 2015 21:39:05 +0000 (22:39 +0100)
youtube_dl/extractor/vimeo.py

index 0d1c92633662806b12d595583cbd23488680bd03..b84a83ba69fec3cc9c78e8111fc34436b3c5ca4f 100644 (file)
@@ -222,7 +222,7 @@ class VimeoIE(VimeoBaseInfoExtractor):
         video_id = mobj.group('id')
         orig_url = url
         if mobj.group('pro') or mobj.group('player'):
-            url = 'http://player.vimeo.com/video/' + video_id
+            url = 'https://player.vimeo.com/video/' + video_id
 
         # Retrieve video webpage to extract further information
         request = compat_urllib_request.Request(url, None, headers)