From 21c38e5cb489e8554eadbad35affe6d78971e070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=82=E6=B5=81?= Date: Thu, 14 Nov 2024 13:38:15 +0800 Subject: [PATCH] [ie/litv] remove unnecessary parameter 'm3u8_native' is already the default for entry_protocol parameter --- yt_dlp/extractor/litv.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yt_dlp/extractor/litv.py b/yt_dlp/extractor/litv.py index 62e880b7fb..08e6389675 100644 --- a/yt_dlp/extractor/litv.py +++ b/yt_dlp/extractor/litv.py @@ -106,8 +106,7 @@ class LiTVIE(InfoExtractor): raise ExtractorError(f'Unexpected error from {self.IE_NAME}') formats = self._extract_m3u8_formats( - video_data['result']['AssetURLs'][0], video_id, ext='mp4', - entry_protocol='m3u8_native', m3u8_id='hls') + video_data['result']['AssetURLs'][0], video_id, ext='mp4', m3u8_id='hls') for a_format in formats: # LiTV HLS segments doesn't like compressions a_format.setdefault('http_headers', {})['Accept-Encoding'] = 'identity'