diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-08-21 08:27:53 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-08-21 08:28:36 +0700 |
commit | fddaa76a599a7df00dc94dd5663d43c881f8fee0 (patch) | |
tree | 2e270e33e3e737dd45cae1482a2cda358fb90c62 /youtube_dl | |
parent | a80944675010617cc0124c57ab597f9d9004c0d9 (diff) |
[kaltura] Assume ttml to be default subtitles' extension
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/kaltura.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/kaltura.py b/youtube_dl/extractor/kaltura.py index a8ce6dda2..15f2fe24f 100644 --- 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 { |