projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed12690
)
[brightcove] fix streaming_src extraction
author
remitamine
<remitamine@gmail.com>
Wed, 23 Sep 2015 13:02:13 +0000
(14:02 +0100)
committer
remitamine
<remitamine@gmail.com>
Wed, 23 Sep 2015 13:02:13 +0000
(14:02 +0100)
youtube_dl/extractor/brightcove.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/brightcove.py
b/youtube_dl/extractor/brightcove.py
index a07c0888f110f3dc9ca31f665ce89cb9793e1cc8..e4a7befee231ca175a57971c590bedeccac8abec 100644
(file)
--- a/
youtube_dl/extractor/brightcove.py
+++ b/
youtube_dl/extractor/brightcove.py
@@
-413,7
+413,7
@@
class BrightcoveInPageEmbedIE(InfoExtractor):
if source_type == 'application/x-mpegURL':
formats.extend(self._extract_m3u8_formats(source.get('src'), video_id))
else:
- src = source.get('src')
+ src = source.get('src')
or source.get('streaming_src')
if src:
formats.append({
'url': src,
@@
-424,8
+424,6
@@
class BrightcoveInPageEmbedIE(InfoExtractor):
'container': source.get('container'),
'vcodec': source.get('container'),
})
- else:
- formats.extend(self._extract_f4m_formats(source.get('streaming_src'), video_id))
self._sort_formats(formats)