mirror of
https://github.com/soimort/you-get.git
synced 2025-02-02 16:24:00 +03:00
Youku: fix a regression bug for downloading password-protected videos
This commit is contained in:
parent
64c3cab2d3
commit
a54d03ef27
@ -155,7 +155,7 @@ class Youku(VideoExtractor):
|
|||||||
if not kwargs['info_only']:
|
if not kwargs['info_only']:
|
||||||
if self.password_protected:
|
if self.password_protected:
|
||||||
password = input(log.sprint('Password: ', log.YELLOW))
|
password = input(log.sprint('Password: ', log.YELLOW))
|
||||||
m3u8_url += '?password={}'.format(password)
|
m3u8_url += '&password={}'.format(password)
|
||||||
|
|
||||||
m3u8 = get_html(m3u8_url)
|
m3u8 = get_html(m3u8_url)
|
||||||
if not m3u8 and self.password_protected:
|
if not m3u8 and self.password_protected:
|
||||||
|
Loading…
Reference in New Issue
Block a user