diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-02-10 07:50:10 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-02-10 07:50:10 +0100 |
commit | ac6e4ca1ed7250ca914e907d2104372c23bf8834 (patch) | |
tree | e3a6547eca00e05673797935d6da14594414bce5 | |
parent | 2e20bba7084ac953a97c16b4040cc185c033bed8 (diff) |
[brightcove] Unescape html entities from the 'og:video' url property (fixes #2360)
-rw-r--r-- | youtube_dl/extractor/brightcove.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py index 031fe385d..83eec84d3 100644 --- a/youtube_dl/extractor/brightcove.py +++ b/youtube_dl/extractor/brightcove.py @@ -17,6 +17,7 @@ from ..utils import ( ExtractorError, unsmuggle_url, + unescapeHTML, ) @@ -139,7 +140,7 @@ class BrightcoveIE(InfoExtractor): url_m = re.search(r'<meta\s+property="og:video"\s+content="(http://c.brightcove.com/[^"]+)"', webpage) if url_m: - return [url_m.group(1)] + return [unescapeHTML(url_m.group(1))] matches = re.findall( r'''(?sx)<object |