aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
authorxtkoba <69125751+xtkoba@users.noreply.github.com>2022-01-21 15:12:30 +0900
committerGitHub <noreply@github.com>2022-01-21 11:42:30 +0530
commitf81c62a6a42ac0192fa0634c225ee540ad73be5a (patch)
tree298e4971820195190b9df4f777690c77d327cdef /yt_dlp/options.py
parent6c73052c0a44c90dad22468d598e1bc6aba7534c (diff)
downloadhypervideo-pre-f81c62a6a42ac0192fa0634c225ee540ad73be5a.tar.lz
hypervideo-pre-f81c62a6a42ac0192fa0634c225ee540ad73be5a.tar.xz
hypervideo-pre-f81c62a6a42ac0192fa0634c225ee540ad73be5a.zip
Add option --legacy-server-connect (#778)
to allow HTTPS connection to servers that do not support RFC 5746 secure renegotiation Authored by: xtkoba
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r--yt_dlp/options.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index cb6f01d4d..50a70c12c 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -828,6 +828,10 @@ def create_parser():
dest='encoding', metavar='ENCODING',
help='Force the specified encoding (experimental)')
workarounds.add_option(
+ '--legacy-server-connect',
+ action='store_true', dest='legacy_server_connect', default=False,
+ help='Explicitly allow HTTPS connection to servers that do not support RFC 5746 secure renegotiation')
+ workarounds.add_option(
'--no-check-certificates',
action='store_true', dest='no_check_certificate', default=False,
help='Suppress HTTPS certificate validation')