mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 15:14:57 +00:00
parent
e5a998f368
commit
b07897ef5b
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ from .socks import ProxyType, sockssocket
|
|||
|
||||
try:
|
||||
import certifi
|
||||
has_certifi = True
|
||||
# The certificate may not be bundled in executable
|
||||
has_certifi = os.path.exists(certifi.where())
|
||||
except ImportError:
|
||||
has_certifi = False
|
||||
|
||||
|
|
Loading…
Reference in a new issue