dgorissen / coursera-dl

A script for downloading course material (video's, pdfs, quizzes, etc) from coursera.org
http://dirkgorissen.com/2012/09/07/coursera-dl-a-coursera-download-script/
GNU General Public License v3.0
1.74k stars 300 forks source link

Please add pause and resume features #79

Open ghost opened 11 years ago

ghost commented 11 years ago

All those bulky downloads cannot be done in one go due to some courses being too bulky and or The user is having bandwidth issues, This can result in corrupt videos

dgorissen commented 11 years ago

Would be nice to have indeed. Will try to get to it but pull requests welcome :)

ghost commented 11 years ago

I thought of adding a Interface as the first step in solving this problem. Be sure to check out the pull request however to add pause/resume features It would take more time but as step one a Interface is essential because a console cannot be Interfered when running but a Interface can be. get what I mean?

dgorissen commented 11 years ago

I saw the pull request, thanks, will take a look. Not sure what you mean with Interfered though. There are some other small things I want to add/fix but Im a bit behind with things. Will def go through it.

ghost commented 11 years ago

Thanks, also please do go through the remember me feature because it saves the 'creds.netrc' file relative to the courseradownloader.py file so the program doesn't detect the .netrc file
(Oh and I didn't understand what you meant by " you can also specify your login and password in a ~/.netrc file in your home directory" - might be because I use windows) and what I mean by a console cannot be Interfered when running is that once you pass your arguments such as coursera-dl -u myusername -p mypassword -d /my/coursera/courses/ algo-2012-001 ml-2012-002 the download starts and then once it starts, In the middle of nowhere you cannot pass another argument such as pause or cancel or whatever so you have to wait till the download finishes but an interface can be eg: IDM(Internet Download Manager)