From: Sergey M․ Date: Sun, 21 Aug 2016 01:27:53 +0000 (+0700) Subject: [kaltura] Assume ttml to be default subtitles' extension X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=fddaa76a599a7df00dc94dd5663d43c881f8fee0;p=youtube-dl [kaltura] Assume ttml to be default subtitles' extension --- 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 {