From f96ab86cd837b1b5823baa87d144e15322ee9298 Mon Sep 17 00:00:00 2001 From: sepro <4618135+seproDev@users.noreply.github.com> Date: Thu, 16 Nov 2023 21:46:13 +0100 Subject: [PATCH] [ie/drtv] Set default ext for m3u8 formats (#8590) Closes #8589 Authored by: seproDev --- yt_dlp/extractor/drtv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/drtv.py b/yt_dlp/extractor/drtv.py index 6d5f3f649..2a6e337bf 100644 --- a/yt_dlp/extractor/drtv.py +++ b/yt_dlp/extractor/drtv.py @@ -209,7 +209,7 @@ class DRTVIE(InfoExtractor): elif access_service == 'StandardVideo': preference = 1 fmts, subs = self._extract_m3u8_formats_and_subtitles( - stream.get('url'), video_id, preference=preference, m3u8_id=format_id, fatal=False) + stream.get('url'), video_id, ext='mp4', preference=preference, m3u8_id=format_id, fatal=False) formats.extend(fmts) api_subtitles = traverse_obj(stream, ('subtitles', lambda _, v: url_or_none(v['link']), {dict}))