From: Philipp Hagemeister Date: Wed, 16 Oct 2013 22:46:11 +0000 (+0200) Subject: [brightcove] Fix more broken XML (#1608) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=2d0efe70a684cf378c6c325eafc8e52a85321157;p=youtube-dl.git [brightcove] Fix more broken XML (#1608) --- diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py index 745212f2f..58f3d9708 100644 --- a/youtube_dl/extractor/brightcove.py +++ b/youtube_dl/extractor/brightcove.py @@ -53,6 +53,8 @@ class BrightcoveIE(InfoExtractor): # Fix up some stupid HTML, see https://github.com/rg3/youtube-dl/issues/1553 object_str = re.sub(r'(', lambda m: m.group(1) + '/>', object_str) + # Fix up some stupid XML, see https://github.com/rg3/youtube-dl/issues/1608 + object_str = object_str.replace(u'<--', u'