riazXrazor / udemy-dl

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

Some command line OPTIONS being ignored #69

Open johndoe1969 opened 4 years ago

johndoe1969 commented 4 years ago

On command line I enter: udl login -u udemyUserName -p udemyPassword -o /home/john/Downloads

It logs me in and gives a list of courses to download. I select one and it starts to download, but ignores the "-o" output to my selected directory and uses the default /udemy-dl-master.

It also seems to ignore the "-r" url option as well if I choose to just login and download a specific course.

Are the url or the output folder considered strings and need to be inside double quotes (")???