From bbfd415058dfa8a867b6c6fafc051259faa1aef3 Mon Sep 17 00:00:00 2001 From: ckaotik Date: Sat, 13 Mar 2021 11:27:11 +0100 Subject: [PATCH] Specify subtitle file extension --- youtube_dl/extractor/mediathekviewweb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/extractor/mediathekviewweb.py b/youtube_dl/extractor/mediathekviewweb.py index 303655438..76cf258a1 100644 --- a/youtube_dl/extractor/mediathekviewweb.py +++ b/youtube_dl/extractor/mediathekviewweb.py @@ -182,6 +182,7 @@ class MediathekViewWebSearchIE(SearchInfoExtractor): if item.get('url_subtitle'): video.setdefault('subtitles', {}).setdefault('de', []).append({ 'url': item.get('url_subtitle'), + 'ext': 'ttml', }) entries.append(video)