projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df5ae1
)
[adultswim] Fix extraction on python 2.6
author
Sergey M․
<dstftw@gmail.com>
Sat, 5 Sep 2015 20:24:14 +0000
(
02:24
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 5 Sep 2015 20:24:14 +0000
(
02:24
+0600)
youtube_dl/extractor/adultswim.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/adultswim.py
b/youtube_dl/extractor/adultswim.py
index 39335b8272295dbf2b640881cd29a6f5b99acaba..4327c2f6113887805c7f654859ac69f4dea8adf8 100644
(file)
--- 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')