mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
fix 0a->0A bug
This commit is contained in:
parent
0a98b09bc2
commit
7733d455c8
|
@ -3074,11 +3074,11 @@ class YoukuIE(InfoExtractor):
|
||||||
#fileid[7:9] should be changed
|
#fileid[7:9] should be changed
|
||||||
for index, key in enumerate(keys):
|
for index, key in enumerate(keys):
|
||||||
|
|
||||||
temp_fileid = '%s%02x%s' % (fileid[0:8], index, fileid[10:])
|
temp_fileid = '%s%02X%s' % (fileid[0:8], index, fileid[10:])
|
||||||
download_url = 'http://f.youku.com/player/getFlvPath/sid/%s_%02x/st/flv/fileid/%s?k=%s' % (sid, index, temp_fileid, key)
|
download_url = 'http://f.youku.com/player/getFlvPath/sid/%s_%02X/st/flv/fileid/%s?k=%s' % (sid, index, temp_fileid, key)
|
||||||
print download_url
|
print download_url
|
||||||
info = {
|
info = {
|
||||||
'id': '%s_part%02x' % (video_id, index),
|
'id': '%s_part%d' % (video_id, index),
|
||||||
'url': download_url,
|
'url': download_url,
|
||||||
'uploader': None,
|
'uploader': None,
|
||||||
'title': video_title
|
'title': video_title
|
||||||
|
|
Loading…
Reference in a new issue