From ade23409717b45c14fda8446389f6dd8c2ca3bae Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Sat, 12 Dec 2015 15:19:14 +0800 Subject: [PATCH] [youku] Simplify --- youtube_dl/extractor/youku.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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: