Specify subtitle file extension

This commit is contained in:
ckaotik 2021-03-13 11:27:11 +01:00
parent 338e4b8527
commit bbfd415058

View File

@ -182,6 +182,7 @@ class MediathekViewWebSearchIE(SearchInfoExtractor):
if item.get('url_subtitle'): if item.get('url_subtitle'):
video.setdefault('subtitles', {}).setdefault('de', []).append({ video.setdefault('subtitles', {}).setdefault('de', []).append({
'url': item.get('url_subtitle'), 'url': item.get('url_subtitle'),
'ext': 'ttml',
}) })
entries.append(video) entries.append(video)