[addanime] improve
This commit is contained in:
commit
2eabb80254
4 changed files with 10 additions and 3 deletions
|
@ -91,7 +91,7 @@ class AppleTrailersIE(InfoExtractor):
|
|||
duration = 60 * int(m.group('minutes')) + int(m.group('seconds'))
|
||||
|
||||
formats = []
|
||||
for formats_el in li.findall('.//li/a'):
|
||||
for formats_el in li.findall('.//a'):
|
||||
if formats_el.attrib['class'] != 'OverlayPanel':
|
||||
continue
|
||||
target = formats_el.attrib['target']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue