[iQiyi]try to fix CI complaint

This commit is contained in:
David Zhuang 2016-06-29 21:28:49 -04:00
parent ef0fcb0b2e
commit 0d06c260c0

View File

@ -137,9 +137,9 @@ class Iqiyi(VideoExtractor):
assert info['code'] == 'A00000', 'can\'t play this video'
for stream in info['data']['vidl']:
stream_id = self.vd_2_id[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}
stream_id = self.vd_2_id[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}
'''
if info["code"] != "A000000":