mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-13 08:19:32 +01:00
[life:embed] Use native hls
This commit is contained in:
parent
5181759c0d
commit
5db9df622f
@ -188,7 +188,8 @@ def _real_extract(self, url):
|
|||||||
ext = determine_ext(video_url)
|
ext = determine_ext(video_url)
|
||||||
if ext == 'm3u8':
|
if ext == 'm3u8':
|
||||||
formats.extend(self._extract_m3u8_formats(
|
formats.extend(self._extract_m3u8_formats(
|
||||||
video_url, video_id, 'mp4', m3u8_id='m3u8'))
|
video_url, video_id, 'mp4',
|
||||||
|
entry_protocol='m3u8_native', m3u8_id='m3u8'))
|
||||||
else:
|
else:
|
||||||
formats.append({
|
formats.append({
|
||||||
'url': video_url,
|
'url': video_url,
|
||||||
|
Loading…
Reference in New Issue
Block a user