mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 00:33:58 +03:00
[iQiyi]try to fix CI complaint
This commit is contained in:
parent
ef0fcb0b2e
commit
0d06c260c0
@ -137,9 +137,9 @@ class Iqiyi(VideoExtractor):
|
|||||||
assert info['code'] == 'A00000', 'can\'t play this video'
|
assert info['code'] == 'A00000', 'can\'t play this video'
|
||||||
|
|
||||||
for stream in info['data']['vidl']:
|
for stream in info['data']['vidl']:
|
||||||
stream_id = self.vd_2_id[stream['vd']]
|
stream_id = self.vd_2_id[stream['vd']]
|
||||||
stream_profile = self.vd_2_profile[stream['vd']]
|
stream_profile = self.vd_2_profile[stream['vd']]
|
||||||
self.streams[stream_id] = {'video_profile': stream_profile, 'container': 'm3u8', 'src': [stream['m3u']], 'size' : 0}
|
self.streams[stream_id] = {'video_profile': stream_profile, 'container': 'm3u8', 'src': [stream['m3u']], 'size' : 0}
|
||||||
|
|
||||||
'''
|
'''
|
||||||
if info["code"] != "A000000":
|
if info["code"] != "A000000":
|
||||||
|
Loading…
Reference in New Issue
Block a user