1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-07 06:13:36 +08:00
This commit is contained in:
huangtiande
2016-01-08 09:57:43 +08:00
Unverified
parent d5611eee62
commit bf7f7b32a4
+4 -1
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