mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 16:44:32 +01:00
Fixed 404 error when downloading password-protected videos from vimeo by using review urls.
This commit is contained in:
parent
93bb6b1bae
commit
fec27d4072
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user