mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-10 10:49:45 +00:00
@@ -70,7 +70,8 @@ from .socks import ProxyType, sockssocket
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
import certifi
|
import certifi
|
||||||
has_certifi = True
|
# The certificate may not be bundled in executable
|
||||||
|
has_certifi = os.path.exists(certifi.where())
|
||||||
except ImportError:
|
except ImportError:
|
||||||
has_certifi = False
|
has_certifi = False
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user