From: remitamine Date: Tue, 15 Mar 2016 21:50:43 +0000 (+0100) Subject: [brightcove:new] update embed_in_page embeds regex to match non numeric ref id X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=64d4f31d78d9555d7f79b8bebeabb7535a842090;p=youtube-dl.git [brightcove:new] update embed_in_page embeds regex to match non numeric ref id --- 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/