diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2024-03-11 00:48:47 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 00:48:47 +0530 |
commit | 47ab66db0f083a76c7fba0f6e136b21dd5a93e3b (patch) | |
tree | e2ee1e3234ce9c2de2cd52fdeb916de3d98b4259 /yt_dlp/compat/urllib/request.py | |
parent | 0abf2f1f153ab47990edbeee3477dc55f74c7f89 (diff) |
[docs] Misc Cleanup (#8977)
Closes #8355, #8944
Authored by: bashonly, Grub4k, Arthurszzz, seproDev, pukkandan
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
Co-authored-by: bashonly <bashonly@protonmail.com>
Co-authored-by: Arthurszzz <minecraftgamerarthur@gmail.com>
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Diffstat (limited to 'yt_dlp/compat/urllib/request.py')
-rw-r--r-- | yt_dlp/compat/urllib/request.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/compat/urllib/request.py b/yt_dlp/compat/urllib/request.py index ff63b2f0e..ad9fa83c8 100644 --- a/yt_dlp/compat/urllib/request.py +++ b/yt_dlp/compat/urllib/request.py @@ -10,10 +10,10 @@ del passthrough_module from .. import compat_os_name if compat_os_name == 'nt': - # On older python versions, proxies are extracted from Windows registry erroneously. [1] + # On older Python versions, proxies are extracted from Windows registry erroneously. [1] # If the https proxy in the registry does not have a scheme, urllib will incorrectly add https:// to it. [2] # It is unlikely that the user has actually set it to be https, so we should be fine to safely downgrade - # it to http on these older python versions to avoid issues + # it to http on these older Python versions to avoid issues # This also applies for ftp proxy type, as ftp:// proxy scheme is not supported. # 1: https://github.com/python/cpython/issues/86793 # 2: https://github.com/python/cpython/blob/51f1ae5ceb0673316c4e4b0175384e892e33cc6e/Lib/urllib/request.py#L2683-L2698 |