prabaprakash / Saavn-Downloader

Saavn Downloader
92 stars 41 forks source link

SSL Certificate verfiy failure #27

Closed rdkannan closed 3 years ago

rdkannan commented 5 years ago

Hi, I am getting below error while running this in my mac and this exception was caused by SmartDL. <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>

To overcome the issue, I have added the below line and worked for me.

Pre Configurations

ssl._create_default_https_context = ssl._create_unverified_context

Hope this can help someone else too. Thanks again for creating downloader and very helpful to me

prabaprakash commented 3 years ago

Fixed it