diff options
author | bashonly <88596187+bashonly@users.noreply.github.com> | 2023-07-20 08:31:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-20 13:31:17 +0000 |
commit | 75dc8e673b481a82d0688aeec30f6c65d82bb359 (patch) | |
tree | a00a743beb082d17a6f345c22b66a96a06fe9b8b | |
parent | 71baa490ebd3655746430f208a9b605d120cd315 (diff) | |
download | hypervideo-pre-75dc8e673b481a82d0688aeec30f6c65d82bb359.tar.lz hypervideo-pre-75dc8e673b481a82d0688aeec30f6c65d82bb359.tar.xz hypervideo-pre-75dc8e673b481a82d0688aeec30f6c65d82bb359.zip |
[networking] Fix `--legacy-server-connect` (#7645)
Bugfix for 227bf1a33be7b89cd7d44ad046844c4ccba104f4
Authored by: bashonly
-rw-r--r-- | test/test_networking.py | 2 | ||||
-rw-r--r-- | yt_dlp/YoutubeDL.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_networking.py b/test/test_networking.py index 3cf587a63..d4eba2a5d 100644 --- a/test/test_networking.py +++ b/test/test_networking.py @@ -1152,7 +1152,7 @@ class TestYoutubeDLNetworking: 'debug_printtraffic': True, 'compat_opts': ['no-certifi'], 'nocheckcertificate': True, - 'legacy_server_connect': True, + 'legacyserverconnect': True, }) as ydl: rh = self.build_handler(ydl) assert rh.headers.get('test') == 'testtest' diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 1a2f42fe9..324f9e99c 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -4097,7 +4097,7 @@ class YoutubeDL: 'verbose': 'debug_printtraffic', 'source_address': 'source_address', 'timeout': 'socket_timeout', - 'legacy_ssl_support': 'legacy_server_connect', + 'legacy_ssl_support': 'legacyserverconnect', 'enable_file_urls': 'enable_file_urls', 'client_cert': { 'client_certificate': 'client_certificate', |