aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-03-16 03:30:53 +0700
committerSergey M․ <dstftw@gmail.com>2017-03-16 03:30:53 +0700
commitb51dc9db0e6ffc6a7725d92fa2c5de45a5b1be20 (patch)
treebeb4cee0ed761889d2d2085a34f55a5e87fcb666 /youtube_dl/extractor/common.py
parenta3096842856d0471b435fb0a85b295da7c4bcf7f (diff)
[extractor/common] Extract SMIL formats from jwplayer
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r--youtube_dl/extractor/common.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index 78dc5be24..b51799bfa 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -2247,6 +2247,9 @@ class InfoExtractor(object):
elif ext == 'mpd':
formats.extend(self._extract_mpd_formats(
source_url, video_id, mpd_id=mpd_id, fatal=False))
+ elif ext == 'smil':
+ formats.extend(self._extract_smil_formats(
+ source_url, video_id, fatal=False))
# https://github.com/jwplayer/jwplayer/blob/master/src/js/providers/default.js#L67
elif source_type.startswith('audio') or ext in (
'oga', 'aac', 'mp3', 'mpeg', 'vorbis'):