1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 00:25:08 +00:00

Add option --legacy-server-connect (#778)

to allow HTTPS connection to servers that do not support RFC 5746 secure renegotiation

Authored by: xtkoba
This commit is contained in:
xtkoba
2022-01-21 15:12:30 +09:00
committed by GitHub
parent 6c73052c0a
commit f81c62a6a4
4 changed files with 9 additions and 0 deletions

View File

@ -827,6 +827,10 @@ def create_parser():
'--encoding',
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,