mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-13 14:37:43 +01:00
[adultswim] Fix extraction on python 2.6
This commit is contained in:
parent
8df5ae15d1
commit
eb387896e9
@ -156,7 +156,7 @@ def _real_extract(self, url):
|
||||
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…
Reference in New Issue
Block a user