[vimeo] Use https for player.vimeo.com urls (closes #5147)

pull/5125/head
Jaime Marquínez Ferrándiz 10 years ago
parent d1508cd68d
commit 61e00a9775

@ -222,7 +222,7 @@ class VimeoIE(VimeoBaseInfoExtractor):
video_id = mobj.group('id') video_id = mobj.group('id')
orig_url = url orig_url = url
if mobj.group('pro') or mobj.group('player'): 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 # Retrieve video webpage to extract further information
request = compat_urllib_request.Request(url, None, headers) request = compat_urllib_request.Request(url, None, headers)

Loading…
Cancel
Save