mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-24 00:38:05 +00:00
[adultswim] Fix extraction on python 2.6
This commit is contained in:
parent
8df5ae15d1
commit
eb387896e9
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ class AdultSwimIE(InfoExtractor):
|
||||||
xpath_text(idoc, './/trt', 'segment duration').strip())
|
xpath_text(idoc, './/trt', 'segment duration').strip())
|
||||||
|
|
||||||
formats = []
|
formats = []
|
||||||
file_els = idoc.findall('.//files/file')
|
file_els = idoc.findall('.//files/file') or idoc.findall('./files/file')
|
||||||
|
|
||||||
for file_el in file_els:
|
for file_el in file_els:
|
||||||
bitrate = file_el.attrib.get('bitrate')
|
bitrate = file_el.attrib.get('bitrate')
|
||||||
|
|
Loading…
Reference in a new issue