commit eb387896e90d3c0b9043169769783796c564f4a0 parent 8df5ae15d1f010bd96a8c51087718c5f41d3d90f Author: Sergey M․ <dstftw@gmail.com> Date: Sun, 6 Sep 2015 02:24:14 +0600 [adultswim] Fix extraction on python 2.6 Diffstat:
M | youtube_dl/extractor/adultswim.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/adultswim.py b/youtube_dl/extractor/adultswim.py @@ -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')