1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-22 14:37:55 +01:00

[youku] Simplify

This commit is contained in:
Yen Chi Hsuan 2015-12-12 15:19:14 +08:00
parent 4d77550cf0
commit ade2340971

View File

@ -210,9 +210,7 @@ class YoukuIE(InfoExtractor):
if video_password:
basic_data_url += '&pwd=%s' % video_password
data = retrieve_data(
basic_data_url,
'Downloading JSON metadata 1')
data = retrieve_data(basic_data_url, 'Downloading JSON metadata')
error = data.get('error')
if error: