From 2d0efe70a684cf378c6c325eafc8e52a85321157 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Thu, 17 Oct 2013 00:46:11 +0200 Subject: [brightcove] Fix more broken XML (#1608) --- youtube_dl/extractor/brightcove.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'youtube_dl/extractor/brightcove.py') diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py index 745212f..58f3d97 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'