Browse Source

[brightcove:new] update embed_in_page embeds regex to match non numeric ref id

master
remitamine 8 years ago
parent
commit
64d4f31d78
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/brightcove.py

2
youtube_dl/extractor/brightcove.py

@ -425,7 +425,7 @@ class BrightcoveNewIE(InfoExtractor):
# According to [4] data-video-id may be prefixed with ref: # According to [4] data-video-id may be prefixed with ref:
r'''(?sx) r'''(?sx)
<video[^>]+ <video[^>]+
data-video-id=["\']((?:ref:)?\d+)["\'][^>]*>.*?
data-video-id=["\'](\d+|ref:[^"\']+)["\'][^>]*>.*?
</video>.*? </video>.*?
<script[^>]+ <script[^>]+
src=["\'](?:https?:)?//players\.brightcove\.net/ src=["\'](?:https?:)?//players\.brightcove\.net/

Loading…
Cancel
Save