Created
August 20, 2013 20:46
-
-
Save MrEngineer13/6287063 to your computer and use it in GitHub Desktop.
Instructions to setup a script to automatically download Coursera course material every day. [For Windows]
This file contains hidden or 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
:: Step 1: Download and setup the Coursera Downloader from this link - https://github.com/jplehmann/coursera | |
:: Step 2: Download or copy the contents of this batch file into a file called "coursera_auto-dl.bat" | |
:: Step 3: Setup automatically running this script every night (or whenever you want). | |
:: Search for scheduled tasks in the start menu search bar and double click on Scheduled Tasks | |
:: Click on Create Task then fill out the name and the description to help you remeber later on | |
:: Next goto the Triggers tab, add a new trigger and set it up to reoccur daily at whatever time you desire (I used 9:00 PM | |
:: Then goto the Actions tab, add a new action to "Start a program" and under Program/Script use the browse button to select the location where you saved this script (Step 2) | |
:: Finally click Ok to save the task | |
:: Not necessary but I like to turn it off so I only get output from Coursera Script | |
@echo off | |
:: Change directory to where the coursera_dl.py file is stored (This will vary based on where you saved the files from Step 1) | |
cd C:\Users\<User>\Dropbox\coursera-master\coursera | |
:: Template | |
coursera_dl.py -u <coursera username> -p <coursera password> <coursera course name> --path="C:\Users\<User>\Documents\<Course Name>" | |
:: Example for epigenetics | |
:: coursera_dl.py -u [email protected] -p password epigenetics-001 --path="C:\Users\User\Documents\Epigenetics" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment