1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-30 22:12:52 +08:00

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

This commit is contained in:
Jaime Marquínez Ferrándiz 2015-03-06 22:39:05 +01:00
parent d1508cd68d
commit 61e00a9775

View 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)