mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 21:46:54 +01:00
[youku] Simplify (Closes #6717)
This commit is contained in:
parent
f859695b49
commit
5ddc127da6
@ -55,7 +55,7 @@ class YoukuIE(InfoExtractor):
|
|||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'XNjA1NzA2Njgw',
|
'id': 'XNjA1NzA2Njgw',
|
||||||
'ext': 'flv',
|
'ext': 'flv',
|
||||||
'title': u'邢義田复旦讲座之想象中的胡人—从“左衽孔子”说起',
|
'title': '邢義田复旦讲座之想象中的胡人—从“左衽孔子”说起',
|
||||||
},
|
},
|
||||||
'params': {
|
'params': {
|
||||||
'videopassword': '100600',
|
'videopassword': '100600',
|
||||||
@ -201,7 +201,7 @@ class YoukuIE(InfoExtractor):
|
|||||||
# request basic data
|
# request basic data
|
||||||
basic_data_url = 'http://v.youku.com/player/getPlayList/VideoIDS/%s' % video_id
|
basic_data_url = 'http://v.youku.com/player/getPlayList/VideoIDS/%s' % video_id
|
||||||
if video_password:
|
if video_password:
|
||||||
basic_data_url = '%s?password=%s' % (basic_data_url, video_password)
|
basic_data_url += '?password=%s' % video_password
|
||||||
|
|
||||||
data1 = retrieve_data(
|
data1 = retrieve_data(
|
||||||
basic_data_url,
|
basic_data_url,
|
||||||
|
Loading…
Reference in New Issue
Block a user