diff options
author | coletdev <coletdjnz@protonmail.com> | 2022-05-02 19:59:45 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 07:59:45 +0000 |
commit | bb58c9ed5c3121bf55edcac9af8d62f5143b89d8 (patch) | |
tree | f7a4f792529513c6892c66b86840c39fc02a1429 /yt_dlp/YoutubeDL.py | |
parent | afac4caa7db30804bebac33e53c3cb0237958224 (diff) | |
download | hypervideo-pre-bb58c9ed5c3121bf55edcac9af8d62f5143b89d8.tar.lz hypervideo-pre-bb58c9ed5c3121bf55edcac9af8d62f5143b89d8.tar.xz hypervideo-pre-bb58c9ed5c3121bf55edcac9af8d62f5143b89d8.zip |
Add support for SSL client certificate authentication (#3435)
Adds `--client-certificate`, `--client-certificate-key`, `--client-certificate-password`
Authored-by: coletdjnz
Co-authored-by: df <fieldhouse@gmx.net>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-rw-r--r-- | yt_dlp/YoutubeDL.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 50342c2ca..1766ff379 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -319,6 +319,10 @@ class YoutubeDL: legacyserverconnect: Explicitly allow HTTPS connection to servers that do not support RFC 5746 secure renegotiation nocheckcertificate: Do not verify SSL certificates + client_certificate: Path to client certificate file in PEM format. May include the private key + client_certificate_key: Path to private key file for client certificate + client_certificate_password: Password for client certificate private key, if encrypted. + If not provided and the key is encrypted, yt-dlp will ask interactively prefer_insecure: Use HTTP instead of HTTPS to retrieve information. At the moment, this is only supported by YouTube. http_headers: A dictionary of custom headers to be used for all requests |