From: Sergey M․ Date: Wed, 15 Mar 2017 20:30:53 +0000 (+0700) Subject: [extractor/common] Extract SMIL formats from jwplayer X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=b51dc9db0e6ffc6a7725d92fa2c5de45a5b1be20;p=youtube-dl [extractor/common] Extract SMIL formats from jwplayer --- 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'):