[adultswim] Fix extraction on python 2.6

pull/8/head
Sergey M․ 9 years ago
parent 8df5ae15d1
commit eb387896e9

@ -156,7 +156,7 @@ class AdultSwimIE(InfoExtractor):
xpath_text(idoc, './/trt', 'segment duration').strip())
formats = []
file_els = idoc.findall('.//files/file')
file_els = idoc.findall('.//files/file') or idoc.findall('./files/file')
for file_el in file_els:
bitrate = file_el.attrib.get('bitrate')

Loading…
Cancel
Save