Download udemy course videos using youtube-dl

Tools Required

  1.  youtube-dl
  2.  youtube-dl extractors – udemy, udemy:course
$ youtube-dl --list-extractors | grep udemy

Please refer to Youtube-dl Download page for the installation.

Steps

  1.  Get link to the course to download. e.g. https://www.udemy.com/mentoring/
  2.  Login into udemy website, save the cookie from chrome using Chrome Cookie.txt export extension. Save it to file udemycookies.txt
  3.  Get the link of the video that you want to download. usually in format. Use the command provided below where you have to replace the {course_link} and {path_to_cookies_file} with respective paths.
# $ youtube-dl {course_link} --cookies {path_to_cookies_file}

$ youtube-dl https://www.udemy.com/mentoring/ --cookies ~/udemycookies.txt

General Tips

I prefer to keep downloaded videos inside the directory. So, at first I create a normal directory and put cookies.txt into it. Then `cd` into this directory and execute the above command. This way I will have all videos downloaded into a directory.

 

Samundra Shrestha

Fullstack Developer, Senior Software Engineer

2 thoughts on “Download udemy course videos using youtube-dl

  • January 16, 2017 at 1:34 PM
    Permalink

    I recommend Allavsoft to download video courses from Udemy, Lynda, etc websites.

    Reply
    • January 26, 2017 at 12:51 PM
      Permalink

      Yes, there are applications which will let you download videos. The method that I have shown is basically a generic one and will work for other sites too with little tweak here and there.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *