]> jfr.im git - yt-dlp.git/blobdiff - pyinst.py
Use certificates from `certifi` if installed (#3115)
[yt-dlp.git] / pyinst.py
index ca115fd78fbab1ef3db9ab2e2f71ee4f1cb05e2a..e5934e04f048d3af284dfb00ca12f622cab74112 100644 (file)
--- a/pyinst.py
+++ b/pyinst.py
@@ -74,7 +74,7 @@ def version_to_list(version):
 
 
 def dependency_options():
-    dependencies = [pycryptodome_module(), 'mutagen', 'brotli'] + collect_submodules('websockets')
+    dependencies = [pycryptodome_module(), 'mutagen', 'brotli', 'certifi'] + collect_submodules('websockets')
     excluded_modules = ['test', 'ytdlp_plugins', 'youtube-dl', 'youtube-dlc']
 
     yield from (f'--hidden-import={module}' for module in dependencies)