diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-09-01 22:26:17 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-09-01 22:26:17 +0600 |
commit | 5ddc127da6e2df440723e067b04bfb2ce86bb827 (patch) | |
tree | 1e001c85e99b7e2213bf51605c353697714ada2b /youtube_dl | |
parent | f859695b497717d40e164d0d6a3e29b3c813dad1 (diff) |
[youku] Simplify (Closes #6717)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/youku.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/youku.py b/youtube_dl/extractor/youku.py index 6219bc1bb..3447e7a6f 100644 --- a/youtube_dl/extractor/youku.py +++ b/youtube_dl/extractor/youku.py @@ -55,7 +55,7 @@ class YoukuIE(InfoExtractor): 'info_dict': { 'id': 'XNjA1NzA2Njgw', 'ext': 'flv', - 'title': u'邢義田复旦讲座之想象中的胡人—从“左衽孔子”说起', + 'title': '邢義田复旦讲座之想象中的胡人—从“左衽孔子”说起', }, 'params': { 'videopassword': '100600', @@ -201,7 +201,7 @@ class YoukuIE(InfoExtractor): # request basic data basic_data_url = 'http://v.youku.com/player/getPlayList/VideoIDS/%s' % video_id if video_password: - basic_data_url = '%s?password=%s' % (basic_data_url, video_password) + basic_data_url += '?password=%s' % video_password data1 = retrieve_data( basic_data_url, |