projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a809446
)
[kaltura] Assume ttml to be default subtitles' extension
author
Sergey M․
<dstftw@gmail.com>
Sun, 21 Aug 2016 01:27:53 +0000
(08:27 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 21 Aug 2016 01:28:36 +0000
(08:28 +0700)
youtube_dl/extractor/kaltura.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/kaltura.py
b/youtube_dl/extractor/kaltura.py
index a8ce6dda2f55da27a80f9de7e6b0b7fc6cb8afc0..15f2fe24f178d0137da108eed96b7e6e23867df4 100644
(file)
--- a/
youtube_dl/extractor/kaltura.py
+++ b/
youtube_dl/extractor/kaltura.py
@@
-266,7
+266,7
@@
class KalturaIE(InfoExtractor):
continue
subtitles.setdefault(caption.get('languageCode') or caption.get('language'), []).append({
'url': '%s/api_v3/service/caption_captionasset/action/serve/captionAssetId/%s' % (self._SERVICE_URL, caption['id']),
- 'ext': caption.get('fileExt'),
+ 'ext': caption.get('fileExt'
, 'ttml'
),
})
return {