1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00: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)