mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-05 08:32:46 +00:00
[ie/litv] remove unnecessary parameter
'm3u8_native' is already the default for entry_protocol parameter
This commit is contained in:
parent
25b793b8cd
commit
21c38e5cb4
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user