mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-06 10:59:36 +02:00
[youku] Fix fileid extraction
This commit is contained in:
parent
38d2f8325f
commit
e5106ba402
@ -105,7 +105,7 @@ def yk_t(s1, s2):
|
|||||||
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):
|
||||||
|
Loading…
Reference in New Issue
Block a user