mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 13:35:16 +03:00
[youku] close #991
This commit is contained in:
parent
318b74827d
commit
b4cbd6dc6c
@ -203,6 +203,7 @@ class Youku(VideoExtractor):
|
||||
if stream_id in stream_types and stream['audio_lang'] == audio_lang:
|
||||
if 'alias-of' in stream_types[stream_id]:
|
||||
stream_id = stream_types[stream_id]['alias-of']
|
||||
if stream_id in self.streams: continue # STOP!
|
||||
self.streams[stream_id] = {
|
||||
'container': stream_types[stream_id]['container'],
|
||||
'video_profile': stream_types[stream_id]['video_profile'],
|
||||
@ -217,6 +218,7 @@ class Youku(VideoExtractor):
|
||||
if stream_id in stream_types and stream['audio_lang'] == audio_lang:
|
||||
if 'alias-of' in stream_types[stream_id]:
|
||||
stream_id = stream_types[stream_id]['alias-of']
|
||||
if stream_id in self.streams_fallback_parameter: continue # STOP!
|
||||
self.streams_fallback_parameter[stream_id] = {
|
||||
'fileid': stream['stream_fileid'],
|
||||
'segs': stream['segs']
|
||||
|
Loading…
Reference in New Issue
Block a user