From 64d4f31d78d9555d7f79b8bebeabb7535a842090 Mon Sep 17 00:00:00 2001 From: remitamine Date: Tue, 15 Mar 2016 22:50:43 +0100 Subject: [PATCH] [brightcove:new] update embed_in_page embeds regex to match non numeric ref id --- youtube_dl/extractor/brightcove.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ]+ - data-video-id=["\']((?:ref:)?\d+)["\'][^>]*>.*? + data-video-id=["\'](\d+|ref:[^"\']+)["\'][^>]*>.*? .*? ]+ src=["\'](?:https?:)?//players\.brightcove\.net/ -- 2.40.0