This commit is contained in:
huangtiande 2016-01-08 09:57:43 +08:00
parent d5611eee62
commit bf7f7b32a4

View File

@ -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