projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[brightcove:new] update embed_in_page embeds regex to match non numeric ref id
[youtube-dl]
/
youtube_dl
/
extractor
/
brightcove.py
diff --git
a/youtube_dl/extractor/brightcove.py
b/youtube_dl/extractor/brightcove.py
index 86de5b9eeb3f2cd6412c8ef7fb013995568a81fa..b182edb26b4db6e42340e15706dd984106d790d8 100644
(file)
--- 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[^>]+
# 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/
</video>.*?
<script[^>]+
src=["\'](?:https?:)?//players\.brightcove\.net/