mirror of
https://github.com/soimort/you-get.git
synced 2025-03-15 04:13:58 +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 stream_id in stream_types and stream['audio_lang'] == audio_lang:
|
||||||
if 'alias-of' in stream_types[stream_id]:
|
if 'alias-of' in stream_types[stream_id]:
|
||||||
stream_id = stream_types[stream_id]['alias-of']
|
stream_id = stream_types[stream_id]['alias-of']
|
||||||
|
if stream_id in self.streams: continue # STOP!
|
||||||
self.streams[stream_id] = {
|
self.streams[stream_id] = {
|
||||||
'container': stream_types[stream_id]['container'],
|
'container': stream_types[stream_id]['container'],
|
||||||
'video_profile': stream_types[stream_id]['video_profile'],
|
'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 stream_id in stream_types and stream['audio_lang'] == audio_lang:
|
||||||
if 'alias-of' in stream_types[stream_id]:
|
if 'alias-of' in stream_types[stream_id]:
|
||||||
stream_id = stream_types[stream_id]['alias-of']
|
stream_id = stream_types[stream_id]['alias-of']
|
||||||
|
if stream_id in self.streams_fallback_parameter: continue # STOP!
|
||||||
self.streams_fallback_parameter[stream_id] = {
|
self.streams_fallback_parameter[stream_id] = {
|
||||||
'fileid': stream['stream_fileid'],
|
'fileid': stream['stream_fileid'],
|
||||||
'segs': stream['segs']
|
'segs': stream['segs']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user