aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youku.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-02-14 14:25:04 +0600
committerSergey M․ <dstftw@gmail.com>2016-02-14 14:25:04 +0600
commitd800609c62703e4e6edd2891a8432306462e4db3 (patch)
treeb38bc875bcaeac5a82d7e622b5188112cecd4bb6 /youtube_dl/extractor/youku.py
parentc78c9cd10dfbb4fc3fd49df4f9c98e9c94c9aae9 (diff)
[refactor] Do not specify redundant None as second argument in dict.get()
Diffstat (limited to 'youtube_dl/extractor/youku.py')
-rw-r--r--youtube_dl/extractor/youku.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youku.py b/youtube_dl/extractor/youku.py
index 49687371a..5c1f84a09 100644
--- a/youtube_dl/extractor/youku.py
+++ b/youtube_dl/extractor/youku.py
@@ -214,7 +214,7 @@ class YoukuIE(InfoExtractor):
return raw_data['data']
- video_password = self._downloader.params.get('videopassword', None)
+ video_password = self._downloader.params.get('videopassword')
# request basic data
basic_data_url = "http://play.youku.com/play/get.json?vid=%s&ct=12" % video_id