🪴 Download Udemy videos

This only allows downloading of things you paid for and probably breaks some EULA somewhere.

https://gist.github.com/barbietunnie/8531d9c26cd1c0668e7278c7c4ba5853

youtube-dl --cookies ./udemy-cookies.txt -o '%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s. %(title)s.%(ext)s' https://www.udemy.com/course-name/

https://github.com/r0oth3x49/udemy-dl

didn’t work

youtube-dl -u {YOUR USER NAME} -p flyable-saffron-bedouin -f 'best' [https://www.udemy.com/yourcourse](https://www.udemy.com/yourcourse)  -o '%(playlist)s/%(chapter_number)s. %(chapter)s/%(playlist_index)s. %(title)s.%(ext)s'

IMPORTANT

  1. take extra care that the cookie file has tabs formatted correctly
  2. also had to drop /courses/ from the url name
youtube-dl —cookies ./udemy-cookies.txt -o '%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s. %(title)s.%(ext)s' https://www.udemy.com/nodejs-api-masterclass/ --verbose

add this to start at ch 38 if the prev line fails

--playlist-start 38
youtube-dl —cookies ./udemy-cookies.txt -o '%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s. %(title)s.%(ext)s' https://www.udemy.com/modern-react-front-to-back/

2020-04-13 10.09.06

previous commands not working

ERROR: u’\u2014cookies’ is not a valid URL. Set —default-search “ytsearch” (or run  youtube-dl “ytsearch:—cookies” ) to search YouTube

https://github.com/ytdl-org/youtube-dl/issues/24147

used cookie plugin -+ vivaldi copied output pbpaste > cookies.txt

2020-04-14

works

note no /course/ in udemy url will prompt for password

youtube-dl -u {YOUR USER NAME} -o '%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s. %(title)s.%(ext)s' https://www.udemy.com/100-algorithms-challenge/ --verbose
Made by Brandon . If you find this project useful you can donate.