From: xuhaomin Date: Fri, 14 Apr 2017 18:23:02 +0000 (+0800) Subject: [youku] Fix fileid extraction X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=e5106ba402031f619503b3cecb3405433258eece;p=youtube-dl [youku] Fix fileid extraction --- 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):