fix bug
This commit is contained in:
parent
d5611eee62
commit
bf7f7b32a4
@ -48,7 +48,10 @@ class IfengIE(InfoExtractor):
|
||||
|
||||
title = info_doc.find('./item').get('Name')
|
||||
|
||||
for element in info_doc.findall('./videos/video[@mediaType=\'mp4\']'):
|
||||
for element in info_doc.findall('./videos/video'):
|
||||
if element.get('mediaType') != 'mp4':
|
||||
continue
|
||||
|
||||
url = element.get('VideoPlayUrl')
|
||||
if element.get('type') == '500k':
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user