mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-23 02:32:16 +00:00
[brightcove] Unescape html entities from the 'og:video' url property (fixes #2360)
This commit is contained in:
parent
2e20bba708
commit
ac6e4ca1ed
1 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@ from ..utils import (
|
||||||
|
|
||||||
ExtractorError,
|
ExtractorError,
|
||||||
unsmuggle_url,
|
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)
|
url_m = re.search(r'<meta\s+property="og:video"\s+content="(http://c.brightcove.com/[^"]+)"', webpage)
|
||||||
if url_m:
|
if url_m:
|
||||||
return [url_m.group(1)]
|
return [unescapeHTML(url_m.group(1))]
|
||||||
|
|
||||||
matches = re.findall(
|
matches = re.findall(
|
||||||
r'''(?sx)<object
|
r'''(?sx)<object
|
||||||
|
|
Loading…
Reference in a new issue