commit: e5106ba402031f619503b3cecb3405433258eece
parent 38d2f8325f8d30cdb16c4ddea277772cbca6c8d0
Author: xuhaomin <xhmgreat@sina.com>
Date: Sat, 15 Apr 2017 02:23:02 +0800
[youku] Fix fileid extraction
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/youku.py b/youtube_dl/extractor/youku.py
@@ -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):