Closed Blatzar closed 4 years ago
It needs to be noted that
import ssl
from pySmartDL import SmartDL
url = 'https://s5.mp4upload.com:282/d/qcxwdwykz3b4quuoaowbs2ysjdmoptqcyxrvickuj63o3i42pjjtn52f/yavideo.mp4'
# url = 'https://github.com/iTaybb/pySmartDL/blob/master/pySmartDL/pySmartDL.py'
ctx = ssl.create_default_context()
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE
obj = SmartDL(url, progress_bar=True, request_args={'context': ctx})
obj.start()
doesn't work
Thanks. I'll look into it over the weekend.
Using verify=False, similar to requests. Fixes https://github.com/iTaybb/pySmartDL/issues/38