Browse Source

[youku] Simplify

master
Yen Chi Hsuan 9 years ago
parent
commit
ade2340971
1 changed files with 1 additions and 3 deletions
  1. 4
      youtube_dl/extractor/youku.py

4
youtube_dl/extractor/youku.py

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

Loading…
Cancel
Save