diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2015-06-07 15:29:17 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2015-06-07 15:29:42 +0800 |
commit | b26733ba7f376f8c9285ac7928534286622bbc7c (patch) | |
tree | 155217abf47c40585fa2d622e3cb07144b2baf39 /youtube_dl/extractor/brightcove.py | |
parent | 9836cfb8d682c91036ce417fa31200673b52115b (diff) |
[brightcove] Allow single quotes in Brightcove URLs (fixes #5901)
Diffstat (limited to 'youtube_dl/extractor/brightcove.py')
-rw-r--r-- | youtube_dl/extractor/brightcove.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py index 4f60d5366..c1d4320e1 100644 --- a/youtube_dl/extractor/brightcove.py +++ b/youtube_dl/extractor/brightcove.py @@ -172,7 +172,7 @@ class BrightcoveIE(InfoExtractor): """Return a list of all Brightcove URLs from the webpage """ url_m = re.search( - r'<meta\s+property="og:video"\s+content="(https?://(?:secure|c)\.brightcove.com/[^"]+)"', + r'<meta\s+property=[\'"]og:video[\'"]\s+content=[\'"](https?://(?:secure|c)\.brightcove.com/[^\'"]+)[\'"]', webpage) if url_m: url = unescapeHTML(url_m.group(1)) |