]>
jfr.im git - yt-dlp.git/blob - yt_dlp/networking/exceptions.py
6 network_exceptions
= [urllib
.error
.URLError
, http
.client
.HTTPException
, socket
.error
]
7 if hasattr(ssl
, 'CertificateError'):
8 network_exceptions
.append(ssl
.CertificateError
)
9 network_exceptions
= tuple(network_exceptions
)