Youku: fix a regression bug for downloading password-protected videos

This commit is contained in:
Mort Yao 2014-08-10 00:50:26 +02:00
parent 64c3cab2d3
commit a54d03ef27

View File

@ -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: