X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fappletrailers.py;h=8b191c19636087d89fe8505964292bcc6db3ba2b;hb=fd9cf738363e180bb3abf0829e1f322e12c68b21;hp=7d126e2d24203b60343052acdb362d941fd7d56e;hpb=44586389e4676dfd926255cf76e36684dcf4742d;p=youtube-dl diff --git a/youtube_dl/extractor/appletrailers.py b/youtube_dl/extractor/appletrailers.py index 7d126e2d2..8b191c196 100644 --- a/youtube_dl/extractor/appletrailers.py +++ b/youtube_dl/extractor/appletrailers.py @@ -4,7 +4,6 @@ import xml.etree.ElementTree from .common import InfoExtractor from ..utils import ( determine_ext, - ExtractorError, ) @@ -91,7 +90,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']