1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-25 08:40:39 +01:00

[youku] Fix fileid extraction

This commit is contained in:
xuhaomin 2017-04-15 02:23:02 +08:00 committed by Sergey M
parent 38d2f8325f
commit e5106ba402

View File

@ -105,7 +105,7 @@ class YoukuIE(InfoExtractor):
if stream.get('channel_type') == 'tail':
continue
format = stream.get('stream_type')
fileid = stream['stream_fileid']
fileid = stream['segs'][0]['fileid']
fileid_dict[format] = fileid
def get_fileid(format, n):