mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2025-02-17 01:17:54 +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({
|
data = urlencode_postdata({
|
||||||
'password': password,
|
'password': password,
|
||||||
'token': token,
|
'token': token,
|
||||||
|
'is_review': 1 if '/review/' in url else 0
|
||||||
})
|
})
|
||||||
if url.startswith('http://'):
|
if url.startswith('http://'):
|
||||||
# vimeo only supports https now, but the user can give an http url
|
# vimeo only supports https now, but the user can give an http url
|
||||||
|
Loading…
Reference in New Issue
Block a user