mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
[youku] Simplify
This commit is contained in:
parent
4d77550cf0
commit
ade2340971
|
@ -210,9 +210,7 @@ class YoukuIE(InfoExtractor):
|
||||||
if video_password:
|
if video_password:
|
||||||
basic_data_url += '&pwd=%s' % video_password
|
basic_data_url += '&pwd=%s' % video_password
|
||||||
|
|
||||||
data = retrieve_data(
|
data = retrieve_data(basic_data_url, 'Downloading JSON metadata')
|
||||||
basic_data_url,
|
|
||||||
'Downloading JSON metadata 1')
|
|
||||||
|
|
||||||
error = data.get('error')
|
error = data.get('error')
|
||||||
if error:
|
if error:
|
||||||
|
|
Loading…
Reference in a new issue