Skip to content

Commit

Permalink
[extractor/common] Extract SMIL formats from jwplayer
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed Mar 15, 2017
1 parent a309684 commit b51dc9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions youtube_dl/extractor/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2247,6 +2247,9 @@ def _parse_jwplayer_formats(self, jwplayer_sources_data, video_id=None,
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'):
Expand Down

0 comments on commit b51dc9d

Please sign in to comment.