projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23edc49
)
[brightcove:new] extract protocol-less embed URLs(closes #2914)
author
remitamine
<remitamine@gmail.com>
Wed, 16 Mar 2016 10:46:53 +0000
(11:46 +0100)
committer
remitamine
<remitamine@gmail.com>
Wed, 16 Mar 2016 10:46:53 +0000
(11:46 +0100)
youtube_dl/extractor/brightcove.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/brightcove.py
b/youtube_dl/extractor/brightcove.py
index 304fb89e3a854931a2fefc25b6bdef08a09787b8..3ab383461e463a6160f743f6a649fb00aea4eba0 100644
(file)
--- a/
youtube_dl/extractor/brightcove.py
+++ b/
youtube_dl/extractor/brightcove.py
@@
-413,8
+413,8
@@
class BrightcoveNewIE(InfoExtractor):
# Look for iframe embeds [1]
for _, url in re.findall(
- r'<iframe[^>]+src=(["\'])((?:https?:)//players\.brightcove\.net/\d+/[^/]+/index\.html.+?)\1', webpage):
- entries.append(url)
+ r'<iframe[^>]+src=(["\'])((?:https?:)
?
//players\.brightcove\.net/\d+/[^/]+/index\.html.+?)\1', webpage):
+ entries.append(url
if url.startswith('http') else 'http:' + url
)
# Look for embed_in_page embeds [2]
for video_id, account_id, player_id, embed in re.findall(