A python package for archiving content from coursera.org (videos, lecture notes, quizzes, …) for offline reference. Originally forked from https://github.com/abhirama/coursera-download but significantly cleaned up and enhanced.
Make sure you have installed Python 2.7 and pip.
Then simply run: pip install coursera-dl
This will create a coursera-dl script in /usr/local/bin (linux) or c:\Pytohon2.7\Scripts (windows)
(to upgrade use pip install --upgrade)
See: coursera-dl -h
Example usage:
coursera-dl -u myusername -p mypassword -d /my/coursera/courses/ algo-2012-001 ml-2012-002
Note: you can also specify your login and password in .netrc file in your home directory. Just add this line to ~/.netrc
machine coursera-dl login myusername password mypassword
Now you can use coursera-dl like this:
coursera-dl -d /my/coursera/courses/ algo-2012-001 ml-2012-002
Note: ensure you have accepted the honor code of the class before using this script (happens the very first time you go to the class page).