aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/YoutubeDL.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/YoutubeDL.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/YoutubeDL.py')
-rw-r--r--yt_dlp/YoutubeDL.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py
index 21edfe339..27fcc2a81 100644
--- a/yt_dlp/YoutubeDL.py
+++ b/yt_dlp/YoutubeDL.py
@@ -323,6 +323,8 @@ class YoutubeDL(object):
cookiesfrombrowser: A tuple containing the name of the browser, the profile
name/pathfrom where cookies are loaded, and the name of the
keyring. Eg: ('chrome', ) or ('vivaldi', 'default', 'BASICTEXT')
+ legacyserverconnect: Explicitly allow HTTPS connection to servers that do not
+ support RFC 5746 secure renegotiation
nocheckcertificate: Do not verify SSL certificates
prefer_insecure: Use HTTP instead of HTTPS to retrieve information.
At the moment, this is only supported by YouTube.