Puyodead1 / udemy-downloader

A Udemy downloader that can download courses, with DRM support.
MIT License
1.31k stars 307 forks source link

Downloader fails with a Certificate Verification error #128

Closed rvipinkumar closed 2 years ago

rvipinkumar commented 2 years ago

While downloading a course, getting the following error. The login was a success I guess...

main.py -c COURSE_URL -b AUTH_KEY_TOKEN --download-assets --download-captions --keep-vtt

[03:11:20] [udemy-downloader] [pre_run:271] WARNING: No cookies.txt file was found, you won't be able to download subscription courses! You can ignore ignore this if you don't plan to download a course included in a subscription plan. [03:11:20] [udemy-downloader] [init:287] INFO: Login Success [03:11:20] [udemy-downloader] [main:1467] INFO: > Fetching course information, this may take a minute... [03:11:20] [udemy-downloader] [_subscribed_courses:547] CRITICAL: Udemy Says: Connection error, HTTPSConnectionPool(host='www.udemy.com', port=443): Max retries exceeded with url: /api-2.0/users/me/subscribed-courses?fields%5Bcourse%5D=id,url,title,published_title&page=1&page_size=500&search=the-data-science-course-complete-data-science-bootcamp (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)')))

Does it has something to do with my browser cache?

rvipinkumar commented 2 years ago

closing as not reproducible. It started working after some time.