r0oth3x49 / udemy-dl

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

Downloading course information, course id not found .. (failed) #394

Closed DarkC0der-0 closed 5 years ago

DarkC0der-0 commented 5 years ago

root@DarkRoot:~/Desktop/udemy-dl# python udemy-dl.py -u ahmedyouness441@gmail.com -p ** https://www.udemy.com/ultimate-deep-web-guide/ -k cookie.txt

          __                               ____  

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

[] : Trying to login using cookies ... [+] : 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. [] : Trying to logout now... [+] : Logged out successfully.

r0oth3x49 commented 5 years ago

@TheDarkIllusion use either cookies based login or username/password based login. i would prefer to use cookie based method for now. command should look like. python udemy-dl.py -k cookies_file.txt COURSE_URL

DarkC0der-0 commented 5 years ago

root@DarkRoot:~/Desktop/udemy-dl# python udemy-dl.py -k cookie.txt https://www.udemy.com/ultimate-deep-web-guide/

          __                               ____  

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

[] : Trying to login using cookies ... [+] : 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. [] : Trying to logout now... [+] : Logged out successfully.

DarkC0der-0 commented 5 years ago

cookie.txt access_token=Cb7KJJPld4b3MLI6YNRhQPqJW3dX94ukzaicU42E

DarkC0der-0 commented 5 years ago

when i enrolled in a free course he accept to download it but with the paid courses he give me id not found so you have a bug

01ttouch commented 5 years ago

I checked, you own 10 courses but not with the course you trying to download.

If i'm wrong, please post a picture that you paid for the course at URL: https://www.udemy.com/ultimate-deep-web-guide/

01ttouch commented 5 years ago

Can't find the course

find

DarkC0der-0 commented 5 years ago

Can't find the course

find

no i didn't purchase it so that the cause that i'm using this tool

https://www.udemy.com/ultimate-deep-web-guide/

DarkC0der-0 commented 5 years ago

I checked, you own 10 courses but not with the course you trying to download.

If i'm wrong, please post a picture that you paid for the course at URL: https://www.udemy.com/ultimate-deep-web-guide/

Screenshot_2019-05-17 The Ultimate Deep Web Guide Purchase Anything From Markets

01ttouch commented 5 years ago

@TheDarkIllusion i think you misunderstood, you can't use the tool to download any courses you didn't own or paid for.

r0oth3x49 commented 5 years ago

@TheDarkIllusion the course only downloads courses which you have paid already.

This is not a hack its a simple utility to facilitate.

jkimathi commented 5 years ago

@r0oth3x49 I am getting error below

Screenshot from 2019-06-13 20-42-53

Yet I have paid for the course below https://www.udemy.com/draft/715516/learn/lecture/4285458?start=135#content

Here is the evidence that I can log in from the front end Screenshot from 2019-06-13 20-41-15

Screenshot from 2019-06-13 20-40-21

Stepan70 commented 5 years ago

I have the same problem. I have paid course but can't download it.


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

[] : Trying to login using cookies ... [+] : 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. [] : Trying to logout now... [+] : Logged out successfully.

zubairw commented 5 years ago

Same issue. Cant download any course that i own. Can you confirm how to get the URL Link? just copy paste the link of the course main page

ghost commented 3 years ago

The id of the course can be found on this site. Can we tell udemy-dl that it should use this id? https://www.infognu.com/udemy-course-date-finder