From e5106ba402031f619503b3cecb3405433258eece Mon Sep 17 00:00:00 2001 From: xuhaomin Date: Sat, 15 Apr 2017 02:23:02 +0800 Subject: [PATCH] [youku] Fix fileid extraction --- youtube_dl/extractor/youku.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/youku.py b/youtube_dl/extractor/youku.py index e37f237c7..73f6f0e90 100644 --- 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): -- 2.39.5