aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-08-21 08:27:53 +0700
committerSergey M․ <dstftw@gmail.com>2016-08-21 08:28:36 +0700
commitfddaa76a599a7df00dc94dd5663d43c881f8fee0 (patch)
tree2e270e33e3e737dd45cae1482a2cda358fb90c62 /youtube_dl
parenta80944675010617cc0124c57ab597f9d9004c0d9 (diff)
[kaltura] Assume ttml to be default subtitles' extension
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/kaltura.py2
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 {