Today I will show you how you can download any Udemy video course for free. This method works on PC, MAC as well as Linux.

Download udemy course for free

To continue you will require python installed on your system. If you already have python installed on your PC, you can skip the installation.

  1. First of all download python from official python site and install it on your PC.
  2. Now you would need to go to Start menu and search for “Environmental variables “
  3. Once you are there, add “path” as “C:\Python34;C:\python34\scripts”. For reference, see the image below.
  4. download-udemy-courses-free
  5. Restart your PC. This step is recommended but sometimes you might get it working without needing to reboot.
  6. Now you need to open Windows Powershell and run following command.
  7. pip install youtube-dl
  8. If everything went right, youtube-dl script will get installed on your system and you can proceed to next step.
  9. Now you can simply download any course from udemy by entering following command.
  10. youtube-dl -u USERNAME -p PASSWORD URLOfCourse
  11. Don’t forget to replace USERNAME with your Email address, PASSWORD with your actual password and URLOfCourse with URL of the course.

Note: You can only download those courses which are added in your Udemy account.  If you have purchased the course, only then you can download the course.

If you are facing any issue while installing or downloading, please make sure that you have updated youtube-dl. Simply run this command, “youtube-dl – U” to update the script. If the problem still presists, then contact the developer.

Download Udemy video course for free in HD

If you liked our effort, don’t forget to share it with friends on social networks and follow us on twitter, Google+ and YouTube.

40 COMMENTS

    • I tested it on a course I normally watch in 1080p, and the downloaded file was in 1080p resolution. It looked perfect.

      Just a quick reminder to anyone considering using this, when you are being asked to blindly trust a program that expects your login credentials, be very careful. I’d advise removing your credit card info from your Udemy account and also changing your password to a unique one you’ve never used on any other online accounts before, before using this script.

      • This script is an opensource piece of code, that means everyone can see what this script does and can use it for their use. Youtube-dl has been around for a while, and if there has been any malicious thing in this script then it would have been found by now.
        Yes, it is good to be safe than sorry. 🙂

    • udemy-dl has been taken down because of copyrights infringement. You should use youtube-dl which is mentioned in this tutorial.

  1. The term ‘youtube-dl’ is not recognized as the
    name of a cmdlet, function, script file, or operable
    program. Check the spelling of the name, or if a path was
    included, verify that the path is correct and try again.
    At line:1 char:1
    + youtube-dl -U
    + ~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (youtube-dl:St
    ring) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    I was getting this..what should i do?

    • Don i suffered with the same error but in my case i tried doing this, instead of giving(C:\Python34;C:\python34\scripts) this as a path search where has your python got installed and give it as path it was this in my case.
      C:\Users\xxxxxxxxxxxx\AppData\Local\Programs\Python\Python35;C:\Users\xxxxxxxxx\AppData\Local\Programs\Python\Python35\Scripts;
      and restart it started working for me.

  2. Hi.It is your great Work.thank You
    can you please guide me how to resolve the issue when downloading in power shell stops due to any reason after downloading couple of videos for example total videos are 10 .and it stops after 5 and again ask for command like
    ps e:\course>

  3. How can I download the subtitles of the course? It has sub when I watch it in browser, but use –list-subs it tell me has no subtitles.

  4. tell me i am facing this error while downloading

    [udemy:course] Downloading login popup
    ERROR: Unable to download webpage: (caused by URLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)’),))

    • Download folder is the location where you want to download the course. For example, if you want to download in the D: drive then you can type D: and press Enter. After that if you will download, the course will be downloaded inside D: Drive.

  5. How can we down load the partial of the course (not all video at a time, if no of videos are more)?
    and also can we down load file size 720p or less? If so then tell the both way to do.

    • You can select which quality of video you want to download using the format selection.

      I will update the post for that soon.

      As far as I know, you can not download partial course.

  6. What is going to happen when I shut down my pc, while download isnt complete? And when I turn on my pc, will it starts from where it stopped? or I have to run those commands again?

  7. i get the above error :
    [udemy] Downloading login popup
    ERROR: Unable to download webpage: (caused by URLError(SSLError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)’),))

  8. Thanks for sharing this great guide, but the day 23 Dec 2017 this dll stop working, how can upgrade the Dll, please need info.

    Regards!

  9. Please help for this error:
    [udemy:course] Downloading login popup
    [udemy:course] Logging in
    [udemy:course] mikrotik-routing-all-in-1-video-bootcamp: Downloading webpage
    ERROR: Course 1264466 is not free. You have to pay for it before you can download. Use this URL to confirm purchase: htt
    ps://www.udemy.com/cart/checkout/express/course/1264466/?discountCode=1801REPUBLICDAYINDIA10

    • The error seems very clear to me. It looks like you have not completed the enrollment of the course. First you will need to enroll into the course and once you own the course, this error will be gone.

  10. I am getting this error
    [udemy] 3346870: Downloading webpage
    [udemy] 3346870: Downloading lecture JSON
    [udemy] 3346870: Downloading lecture JSON
    ERROR: Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the –verbose flag and include its complete output.

    • Hello Manoj. The 403 Forbidden error is a permissions error. Either you don’t have the given course in your udemy account or the folder you are trying to download to, is not writable by your user.

  11. Hi !
    When I tried to download the couse, the program give me a problem:

    D:\udemy\JavaScript – ECMAScript6>youtube-dl -u XXXXXXXXXXX -p XXXXXXXXXXX https://www.udemy.com/ecmascript-6-es2015
    /learn/v4/overview
    [udemy:course] Downloading login popup
    [udemy:course] Logging in
    [udemy:course] ecmascript-6-es2015: Downloading webpage
    [udemy:course] 866398: Downloading course curriculum
    [download] Downloading playlist: JavaScript: ECMAScript 6 y todos sus detalles
    [udemy:course] playlist JavaScript: ECMAScript 6 y todos sus detalles: Collected 66 video ids (downloading 66 of them)
    [download] Downloading video 1 of 66
    [udemy] Downloading login popup
    [udemy] 5224504: Downloading webpage
    [udemy] 5224504: Downloading lecture JSON
    ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version
    ; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the –verbose flag and include its complet
    e output.

    How can I solve this problem ?

LEAVE A REPLY

Please enter your comment!
Please enter your name here