aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxuhaomin <xhmgreat@sina.com>2017-04-15 02:23:02 +0800
committerSergey M <dstftw@gmail.com>2017-04-14 13:23:02 -0500
commite5106ba402031f619503b3cecb3405433258eece (patch)
treecbf4bca9fc7ce83bbee3a9447aad6ba4051012b7
parent38d2f8325f8d30cdb16c4ddea277772cbca6c8d0 (diff)
[youku] Fix fileid extraction
-rw-r--r--youtube_dl/extractor/youku.py2
1 files changed, 1 insertions, 1 deletions
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):