diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2023-04-11 16:11:15 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2023-04-11 21:43:31 +0530 |
commit | c6786ff3baaf72a5baa4d56d34058e54cbcf8ceb (patch) | |
tree | 400ce500332fe9ca1b052a09126ddfb92ad9beb4 | |
parent | 79c77e85b70ae3b9942d5a88c14d021a9bd24222 (diff) | |
download | hypervideo-pre-c6786ff3baaf72a5baa4d56d34058e54cbcf8ceb.tar.lz hypervideo-pre-c6786ff3baaf72a5baa4d56d34058e54cbcf8ceb.tar.xz hypervideo-pre-c6786ff3baaf72a5baa4d56d34058e54cbcf8ceb.zip |
[extractor/youtube] Revert default formats to `https`
-rw-r--r-- | yt_dlp/extractor/youtube.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py index 6dc36f9b9..d6a55e953 100644 --- a/yt_dlp/extractor/youtube.py +++ b/yt_dlp/extractor/youtube.py @@ -3789,15 +3789,13 @@ class YoutubeIE(YoutubeBaseInfoExtractor): if single_stream and dct.get('ext'): dct['container'] = dct['ext'] + '_dash' - if dct['filesize']: + if all_formats and dct['filesize']: yield { **dct, 'format_id': f'{dct["format_id"]}-dashy' if all_formats else dct['format_id'], 'protocol': 'http_dash_segments', 'fragments': build_fragments(dct), } - if not all_formats: - continue dct['downloader_options'] = {'http_chunk_size': CHUNK_SIZE} yield dct |