aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-12-12 15:19:14 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-12-12 15:19:14 +0800
commitade23409717b45c14fda8446389f6dd8c2ca3bae (patch)
tree6cb9684c3146440c497ac187e228279b209bb3be /youtube_dl/extractor
parent4d77550cf0d968344a6762c90496ffbe7528cbe7 (diff)
[youku] Simplify
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/youku.py4
1 files changed, 1 insertions, 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: