diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-12-23 09:14:21 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-12-23 09:15:05 +0530 |
commit | b28bac93abe9d376b0b05c467006a5f7135b9aee (patch) | |
tree | ad1e54ad2da66fb44b4996d68382783d56ce9972 | |
parent | 37893bb0c9afdeead29e3707d2dfb67596f03897 (diff) | |
download | hypervideo-pre-b28bac93abe9d376b0b05c467006a5f7135b9aee.tar.lz hypervideo-pre-b28bac93abe9d376b0b05c467006a5f7135b9aee.tar.xz hypervideo-pre-b28bac93abe9d376b0b05c467006a5f7135b9aee.zip |
Fix bug in 1cefca9e440f343281779e47720128e9614cf147
Fixes https://github.com/ytdl-patched/ytdl-patched/issues/11
-rw-r--r-- | yt_dlp/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/__init__.py b/yt_dlp/__init__.py index da7283300..d0d765331 100644 --- a/yt_dlp/__init__.py +++ b/yt_dlp/__init__.py @@ -139,10 +139,10 @@ def _real_main(argv=None): # Conflicting, missing and erroneous options if opts.format == 'best': - warnings.append('.\n '.join( + warnings.append('.\n '.join(( '"-f best" selects the best pre-merged format which is often not the best option', 'To let yt-dlp download and merge the best available formats, simply do not pass any format selection', - 'If you know what you are doing and want only the best pre-merged format, use "-f b" instead to suppress this warning')) + 'If you know what you are doing and want only the best pre-merged format, use "-f b" instead to suppress this warning'))) if opts.usenetrc and (opts.username is not None or opts.password is not None): parser.error('using .netrc conflicts with giving username/password') if opts.password is not None and opts.username is None: |