From: Jaime Marquínez Ferrándiz Date: Wed, 23 Dec 2015 13:48:40 +0000 (+0100) Subject: [appletrailers] Improve regex for fixing '' tags (#7953) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=7fe37d8a05609229332d5a156cb9b7cf4bba2790;p=youtube-dl [appletrailers] Improve regex for fixing '' tags (#7953) --- diff --git a/youtube_dl/extractor/appletrailers.py b/youtube_dl/extractor/appletrailers.py index ca9a70924..82beed2ce 100644 --- a/youtube_dl/extractor/appletrailers.py +++ b/youtube_dl/extractor/appletrailers.py @@ -80,7 +80,7 @@ class AppleTrailersIE(InfoExtractor): def fix_html(s): s = re.sub(r'(?s).*?', '', s) - s = re.sub(r'', r'', s) + s = re.sub(r'', r'', s) # The ' in the onClick attributes are not escaped, it couldn't be parsed # like: http://trailers.apple.com/trailers/wb/gravity/