sudo apt-get install python-bs4 python-setuptoolscd ~/Downloads
git clone git://github.com/jplehmann/coursera.gitYou can easily invoke the
coursera-dl executable using the following commands: cd ./coursera
coursera-dl -u USER -p PASSWORD COURSENAMECOURSENAME from the course URL like so:https://class.coursera.org/COURSENAME/class/indexExample:
https://class.coursera.org/eefun-001/class/indexCOURSENAME is eefun-001. So to download this course, simply enter the following command in a terminal:coursera-dl -u USER -p PASSWORD eefun-001You can also specify the download path by using this command:
coursera-dl -u USER -p PASSWORD --path=DIR_PATH eefun-001~/.netrc:touch ~/.netrcOpen this file in your favorite text editor, then add the following line to it:
machine coursera-dl login <USER> password <PASSWORD>~/.netrc support, run the following command in a terminal:coursera-dl -n --path=DIR_PATH COURSENAME
Comments