aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2016-03-15 22:50:43 +0100
committerremitamine <remitamine@gmail.com>2016-03-15 22:50:43 +0100
commit64d4f31d78d9555d7f79b8bebeabb7535a842090 (patch)
tree24f5a16af7738f676e0bc6abb448b0d5043070e8
parent0c9ff2404119bc93fe9755fa5ecdf8e8dd53b146 (diff)
[brightcove:new] update embed_in_page embeds regex to match non numeric ref id
-rw-r--r--youtube_dl/extractor/brightcove.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py
index 86de5b9ee..b182edb26 100644
--- a/youtube_dl/extractor/brightcove.py
+++ b/youtube_dl/extractor/brightcove.py
@@ -425,7 +425,7 @@ class BrightcoveNewIE(InfoExtractor):
# According to [4] data-video-id may be prefixed with ref:
r'''(?sx)
<video[^>]+
- data-video-id=["\']((?:ref:)?\d+)["\'][^>]*>.*?
+ data-video-id=["\'](\d+|ref:[^"\']+)["\'][^>]*>.*?
</video>.*?
<script[^>]+
src=["\'](?:https?:)?//players\.brightcove\.net/