projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ff6165
)
[brightcove] Improve embed detection (closes #25674)
author
Sergey M․
<dstftw@gmail.com>
Tue, 16 Jun 2020 10:37:58 +0000
(17:37 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 16 Jun 2020 10:38:25 +0000
(17:38 +0700)
youtube_dl/extractor/brightcove.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/brightcove.py
b/youtube_dl/extractor/brightcove.py
index 5c22a730db98b77cab1db2c5503b493b162e9c9a..2aa9f4782e0dfdb2b78225c2d1fe83a8568effe3 100644
(file)
--- a/
youtube_dl/extractor/brightcove.py
+++ b/
youtube_dl/extractor/brightcove.py
@@
-426,7
+426,7
@@
class BrightcoveNewIE(AdobePassIE):
# [2] looks like:
for video, script_tag, account_id, player_id, embed in re.findall(
r'''(?isx)
- (<video\s+[^>]*\bdata-video-id\s*=\s*['"]?[^>]+>)
+ (<video
(?:-js)?
\s+[^>]*\bdata-video-id\s*=\s*['"]?[^>]+>)
(?:.*?
(<script[^>]+
src=["\'](?:https?:)?//players\.brightcove\.net/