sudo apt-get install python-bs4 python-setuptools
cd ~/Downloads
git clone git://github.com/jplehmann/coursera.git
You can easily invoke the
coursera-dl
executable using the following commands: cd ./coursera
coursera-dl -u USER -p PASSWORD COURSENAME
COURSENAME
from the course URL like so:https://class.coursera.org/COURSENAME/class/index
Example:
https://class.coursera.org/eefun-001/class/index
COURSENAME
is eefun-001
. So to download this course, simply enter the following command in a terminal:coursera-dl -u USER -p PASSWORD eefun-001
You can also specify the download path by using this command:
coursera-dl -u USER -p PASSWORD --path=DIR_PATH eefun-001
~/.netrc
:touch ~/.netrc
Open 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