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.


  1.  Get link to the course to download. e.g.
  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 --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

I work as fullstack developer. Having spent more than 5 years in the web development technologies, I aspire to create an environment where we can share, learn and grow together.

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

  • January 16, 2017 at 1:34 PM

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

    • January 26, 2017 at 12:51 PM

      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.


Leave a Reply

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