aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/egghead.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-05-22 23:58:11 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-05-26 01:27:39 +0530
commit177877c54493d0cb32f65e87ff9ed88a030cfbdb (patch)
treec3d25a6d80555ed3057b6c363edbba36399aaea0 /yt_dlp/extractor/egghead.py
parentb25522ba5234bc9c313d18b54001c2e5e9e39c96 (diff)
downloadhypervideo-pre-177877c54493d0cb32f65e87ff9ed88a030cfbdb.tar.lz
hypervideo-pre-177877c54493d0cb32f65e87ff9ed88a030cfbdb.tar.xz
hypervideo-pre-177877c54493d0cb32f65e87ff9ed88a030cfbdb.zip
[extractor] Always prefer native hls downloader by default
When the manifest is not downloadable by native downloader, it already is able to detect it and switch to `ffmpeg`. So there doesn't seem to be a reason anymore to use ffmpeg as the preferred downloader
Diffstat (limited to 'yt_dlp/extractor/egghead.py')
-rw-r--r--yt_dlp/extractor/egghead.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/extractor/egghead.py b/yt_dlp/extractor/egghead.py
index aff9b88c0..22123e5d4 100644
--- a/yt_dlp/extractor/egghead.py
+++ b/yt_dlp/extractor/egghead.py
@@ -107,8 +107,7 @@ class EggheadLessonIE(EggheadBaseIE):
ext = determine_ext(format_url)
if ext == 'm3u8':
formats.extend(self._extract_m3u8_formats(
- format_url, lesson_id, 'mp4', entry_protocol='m3u8',
- m3u8_id='hls', fatal=False))
+ format_url, lesson_id, 'mp4', m3u8_id='hls', fatal=False))
elif ext == 'mpd':
formats.extend(self._extract_mpd_formats(
format_url, lesson_id, mpd_id='dash', fatal=False))