1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-28 21:22:13 +00:00

[kaltura] Assume ttml to be default subtitles' extension

This commit is contained in:
Sergey M․ 2016-08-21 08:27:53 +07:00
parent a809446750
commit fddaa76a59
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -266,7 +266,7 @@ class KalturaIE(InfoExtractor):
continue continue
subtitles.setdefault(caption.get('languageCode') or caption.get('language'), []).append({ 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']), '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 { return {