riazXrazor / udemy-dl

Nodejs script to download a udemy.com course, for personal offline use
282 stars 67 forks source link

Don't create a separate folder for each video #43

Closed mriverodorta closed 5 years ago

mriverodorta commented 5 years ago

Every time i download a course, the downloader creates a folder for each video, there should be an option to download the videos form a section inside a section folder not ins a section folder->name of the video file folder->name of the video file.mp4 Take a look.

dir

riazXrazor commented 5 years ago

Hi @mriverodorta, hmm i did this coz some course vids contains some materials with the vid too, so to make it general and organized i took an approach like this.

mriverodorta commented 5 years ago

hi @riazXrazor, it would be nice to have a flag to use a different behavior, like a --no-folders if the code base allows it. Thanks

riazXrazor commented 5 years ago

@mriverodorta plz update to latest version, i hv removed folder creation, creating only if there is a subtitle.

mriverodorta commented 5 years ago

thank you, the update worked like a charm.