[ie/drtv] Set default ext for m3u8 formats (#8590)

Closes #8589
Authored by: seproDev
pull/8600/head
sepro 1 year ago committed by GitHub
parent f4b95acafc
commit f96ab86cd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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}))

Loading…
Cancel
Save