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

"Course ID not found Error" on Courses that were obtained Through the Personal Plan #667

Closed BioBox closed 2 years ago

BioBox commented 2 years ago

Describe the bug Downloading of courses that were obtained through subscriptions such as the Personal Plan Free Trial do not work.

To Reproduce Steps to reproduce the behavior:

  1. Get the Personal Plan free trial.
  2. Click on a course that is provided via the subscription.
  3. Run the following command to reproduce the error: udemy-dl -k cookies.txt "https://www.udemy.com/course/arduino-programming-and-hardware-fundamentals-with-hackster/"
  4. See error:
    [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

Python Environment (please complete the following information):

Additional context I was able to successfully download a course that I had purchased, but not for one given to me by the subscription.