aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/adultswim.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-09-06 02:24:14 +0600
committerSergey M․ <dstftw@gmail.com>2015-09-06 02:24:14 +0600
commiteb387896e90d3c0b9043169769783796c564f4a0 (patch)
tree2c046bc2ed49dba79aaeabdc79875873342ba7e4 /youtube_dl/extractor/adultswim.py
parent8df5ae15d1f010bd96a8c51087718c5f41d3d90f (diff)
[adultswim] Fix extraction on python 2.6
Diffstat (limited to 'youtube_dl/extractor/adultswim.py')
-rw-r--r--youtube_dl/extractor/adultswim.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/adultswim.py b/youtube_dl/extractor/adultswim.py
index 39335b827..4327c2f61 100644
--- 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')