projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c9ff24
)
[brightcove:new] update embed_in_page embeds regex to match non numeric ref id
author
remitamine
<remitamine@gmail.com>
Tue, 15 Mar 2016 21:50:43 +0000
(22:50 +0100)
committer
remitamine
<remitamine@gmail.com>
Tue, 15 Mar 2016 21:50:43 +0000
(22:50 +0100)
youtube_dl/extractor/brightcove.py
patch
|
blob
|
history
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[^>]+
- data-video-id=["\'](
(?:ref:)?\d
+)["\'][^>]*>.*?
+ data-video-id=["\'](
\d+|ref:[^"\']
+)["\'][^>]*>.*?
</video>.*?
<script[^>]+
src=["\'](?:https?:)?//players\.brightcove\.net/