Tag Archives: youtube-dl

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.