diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-05-22 23:58:11 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-05-26 01:27:39 +0530 |
commit | 177877c54493d0cb32f65e87ff9ed88a030cfbdb (patch) | |
tree | c3d25a6d80555ed3057b6c363edbba36399aaea0 /yt_dlp/extractor/common.py | |
parent | b25522ba5234bc9c313d18b54001c2e5e9e39c96 (diff) | |
download | hypervideo-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/common.py')
-rw-r--r-- | yt_dlp/extractor/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index 888cc8efa..dacd9b3d1 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -1902,7 +1902,7 @@ class InfoExtractor(object): return fmts def _extract_m3u8_formats_and_subtitles( - self, m3u8_url, video_id, ext=None, entry_protocol='m3u8', + self, m3u8_url, video_id, ext=None, entry_protocol='m3u8_native', preference=None, quality=None, m3u8_id=None, note=None, errnote=None, fatal=True, live=False, data=None, headers={}, query={}): @@ -1926,7 +1926,7 @@ class InfoExtractor(object): headers=headers, query=query, video_id=video_id) def _parse_m3u8_formats_and_subtitles( - self, m3u8_doc, m3u8_url, ext=None, entry_protocol='m3u8', + self, m3u8_doc, m3u8_url, ext=None, entry_protocol='m3u8_native', preference=None, quality=None, m3u8_id=None, live=False, note=None, errnote=None, fatal=True, data=None, headers={}, query={}, video_id=None): |