projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a309684
)
[extractor/common] Extract SMIL formats from jwplayer
author
Sergey M․
<dstftw@gmail.com>
Wed, 15 Mar 2017 20:30:53 +0000
(
03:30
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 15 Mar 2017 20:30:53 +0000
(
03:30
+0700)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index 78dc5be24834ec036a8782ff2715027b349de542..b51799bfa6bcc4b873b7e4fdec0f873b0bbf77bd 100644
(file)
--- 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'):