r0oth3x49 / udemy-dl

A cross-platform python based utility to download courses from udemy for personal offline use.
MIT License
4.83k stars 1.19k forks source link

Can't download programs #578

Closed MazenElzanaty closed 3 years ago

MazenElzanaty commented 3 years ago

python3 udemy-dl.py https://www.udemy.com/program/az-900-microsoft-azure-fundamentals/learn/2394982/ -q 1080 --cookies cookies

          __                               ____

____/ / __ _ __/ / / / / / / / _ \/ ` \/ / / /_/ / / / // / // / / / / / / / // /____/ /_/ / / \,_/\,/\// // //_, / _,/_/ /____/ Version : 1.0 Author : Nasir Khan (r0ot h3x49) Github : https://github.com/r0oth3x49

[i] : Trying to login using session cookie [i] : Logged in successfully. [-] : Downloading course information, course id not found .. (failed) [i] : It seems either you are not enrolled or you have to visit the course atleast once while you are logged in. [i] : Trying to logout now... [i] : Logged out successfully.

r0oth3x49 commented 3 years ago

@MazenElzanaty are you enrolled in that course? did you followed the step udemy-dl suggests in error?

It seems either you are not enrolled or you have to visit the course atleast once while you are logged in.

you can't download courses without enrollment.

MazenElzanaty commented 3 years ago

It's a program, not a course. i can access it from udemy normally.

r0oth3x49 commented 3 years ago

hmm no support for program download as of yet i need to check whats there.

MazenElzanaty commented 3 years ago

Okay, let me know if there's any updates

r0oth3x49 commented 3 years ago

would you mind sharing cookies so that i can take a look how program behaves and how it can be downloaded. it's ok if you don't share. plus i don't see any documentation on API as well that's why requesting cookies so that i can take a look and see if it can be implemented or not.

share it on my email if there is no issue in sharing: nasir251292@gmail.com

MazenElzanaty commented 3 years ago

The programs section appear when you're pro. https://www.udemy.com/pro/ I'm sorry i can't share this cookies.

r0oth3x49 commented 3 years ago

The programs section appear when you're pro. https://www.udemy.com/pro/ I'm sorry i can't share this cookies.

:+1: np.