From: Yen Chi Hsuan Date: Sat, 12 Dec 2015 07:19:14 +0000 (+0800) Subject: [youku] Simplify X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=ade23409717b45c14fda8446389f6dd8c2ca3bae;p=youtube-dl [youku] Simplify --- diff --git a/youtube_dl/extractor/youku.py b/youtube_dl/extractor/youku.py index b6129ecfa..1b1878f37 100644 --- a/youtube_dl/extractor/youku.py +++ b/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: