mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 08:43:58 +03:00
improve efficiency
This commit is contained in:
parent
1100eb6060
commit
da22ec2724
@ -179,7 +179,7 @@ class Youku(VideoExtractor):
|
|||||||
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:
|
if stream_id in self.streams:
|
||||||
continue
|
break
|
||||||
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'],
|
||||||
|
Loading…
Reference in New Issue
Block a user