1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 00:25:08 +00:00

[cleanup] Don't pass protocol to _extract_m3u8_formats for live videos

`live` parameter already handles changing the protocol
This commit is contained in:
pukkandan
2022-03-02 22:59:01 +05:30
parent f494ddada8
commit a5c0c20252
8 changed files with 9 additions and 22 deletions

View File

@ -259,9 +259,7 @@ class DailymotionIE(DailymotionBaseInfoExtractor):
continue
if media_type == 'application/x-mpegURL':
formats.extend(self._extract_m3u8_formats(
media_url, video_id, 'mp4',
'm3u8' if is_live else 'm3u8_native',
m3u8_id='hls', fatal=False))
media_url, video_id, 'mp4', live=is_live, m3u8_id='hls', fatal=False))
else:
f = {
'url': media_url,