1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-15 04:19:57 +08:00

youku change the JSON metadata

youku change the json metadata from http://play.youku.com/.... so we need to change the code to get fileid
This commit is contained in:
xuhaomin 2017-04-15 02:06:11 +08:00 committed by GitHub
parent 38d2f8325f
commit 1fbbd5479b

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):