about summary refs log tree commit diff stats
path: root/crates/yt_dlp/src/package_hacks/urllib3_polyfill.py
diff options
context:
space:
mode:
Diffstat (limited to 'crates/yt_dlp/src/package_hacks/urllib3_polyfill.py')
-rw-r--r--crates/yt_dlp/src/package_hacks/urllib3_polyfill.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/crates/yt_dlp/src/package_hacks/urllib3_polyfill.py b/crates/yt_dlp/src/package_hacks/urllib3_polyfill.py
new file mode 100644
index 0000000..610fd99
--- /dev/null
+++ b/crates/yt_dlp/src/package_hacks/urllib3_polyfill.py
@@ -0,0 +1,13 @@
+# yt - A fully featured command line YouTube client
+#
+# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# This file is part of Yt.
+#
+# You should have received a copy of the License along with this program.
+# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
+import ssl
+
+ssl.SSLContext.verify_flags = 0