mirror of
https://gitlab.com/ytdl-org/youtube-dl.git
synced 2025-11-07 09:37:07 -05:00
[youku] Fix fileid extraction
This commit is contained in:
@@ -105,7 +105,7 @@ class YoukuIE(InfoExtractor):
|
|||||||
if stream.get('channel_type') == 'tail':
|
if stream.get('channel_type') == 'tail':
|
||||||
continue
|
continue
|
||||||
format = stream.get('stream_type')
|
format = stream.get('stream_type')
|
||||||
fileid = stream['stream_fileid']
|
fileid = stream['segs'][0]['fileid']
|
||||||
fileid_dict[format] = fileid
|
fileid_dict[format] = fileid
|
||||||
|
|
||||||
def get_fileid(format, n):
|
def get_fileid(format, n):
|
||||||
|
|||||||
Reference in New Issue
Block a user