]> jfr.im git - yt-dlp.git/commit
Workaround for bug in `ssl.SSLContext.load_default_certs` (#1118)
authorpukkandan <redacted>
Tue, 28 Sep 2021 21:37:23 +0000 (03:07 +0530)
committerGitHub <redacted>
Tue, 28 Sep 2021 21:37:23 +0000 (03:07 +0530)
commit7756277882e2dddde53df604945d02c74f477f38
tree68d507aefbac657f86076c568723e73895345f73
parent7687c8ac6e223a725b3ef8f56f04779bebdc86c5
Workaround for bug in `ssl.SSLContext.load_default_certs` (#1118)

* Remove old compat code
* Load certificates only when not using nocheckcertificate
* Load each certificate individually

Closes #1060
Related bugs.python.org/issue35665, bugs.python.org/issue4531
yt_dlp/utils.py