1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 10:24:33 +01:00

Fixed 404 error when downloading password-protected videos from vimeo by using review urls.

This commit is contained in:
Alexander Borsuk 2019-01-24 14:59:25 +01:00
parent 93bb6b1bae
commit fec27d4072

View File

@ -78,6 +78,7 @@ class VimeoBaseInfoExtractor(InfoExtractor):
data = urlencode_postdata({
'password': password,
'token': token,
'is_review': 1 if '/review/' in url else 0
})
if url.startswith('http://'):
# vimeo only supports https now, but the user can give an http url