mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-02 16:37:59 +09:00
Specify subtitle file extension
This commit is contained in:
parent
338e4b8527
commit
bbfd415058
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user