Created
January 31, 2014 13:21
-
-
Save swayson/8732013 to your computer and use it in GitHub Desktop.
Shell script for preparation and use of the coursera-dl python script.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a virtual environment using conda | |
conda create -n coursera_dl python=2.7 pip | |
# Get the code | |
git clone https://github.com/coursera-dl/coursera.git | |
cd coursera\ | |
# Install the dependencies (using virtual environment) | |
activate coursera_dl | |
pip install -r requirements.txt | |
# Download all available lecture materials | |
coursera-dl.bat -u <USER> -p <PASS> --path=<DIR> networksonline-002 | |
# Download specific lecture materials | |
# By section name | |
coursera-dl -u <user> -p <pass> -sf "Week_4" networksonline-002 | |
# By Lecture name | |
coursera-dl -u <user> -p <pass> -lf "4.14" networksonline-002 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment