Download videos from Udemy with youtube-dl

Use cookies.txt extension for chrome to get the cookies file

youtube-dl --cookies cookies.txt

To categorize the videos you can use

youtube-dl --cookies cookies.txt -o "%(playlist)s/%(chapter_number)s %(chapter)s/%(playlist_index)s. %(title)s.%(ext)s"

Unfortunately there is no way to fetch the content files such as PDF or exe files so you got to do that by yourself. 😣