diff options
author | remitamine <remitamine@gmail.com> | 2015-09-23 14:02:13 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2015-09-23 14:02:13 +0100 |
commit | 53407e3f383ed80c67db9e06b8c3480257aa3184 (patch) | |
tree | 08c8d0a94c9db6159929d5e2b3404054867bcc14 /youtube_dl/extractor/brightcove.py | |
parent | ed1269000f24a6ddc683a295ff402ef3ded5c4fb (diff) |
[brightcove] fix streaming_src extraction
Diffstat (limited to 'youtube_dl/extractor/brightcove.py')
-rw-r--r-- | youtube_dl/extractor/brightcove.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py index a07c0888f..e4a7befee 100644 --- 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) |