I not longer maintain this repository. See https://github.com/djosh34/collegerama for a new and improved version.
Collegerama lacks a 'watch this video offline' button. This project downloads the lecture and its slides and watch it in your browser.
git clone git@github.com:MartijnDwars/collegerama.git
npm install
If you just want to download the lecture, simply use node download.js <resourceId>
. The resource id is the part next to 'Play' in the URL. For example, in:
it is 23c483f3255d411381c3ee583a8967451d.
If you want to use this as a local Collegerama clone:
- Use
node download.js <resourceId>
to download the slides/video - Use
bower install
to install the javascript dependencies - Update the list of resourceIds in
index.html
- Serve
index.html
- Run Chrome with cross-origin check disabled (e.g
open /Applications/Google\ Chrome.app --args --allow-file-access-from-files
) - Open
index.html
, or run some webserver to serve it (e.g. Apache, nginx) - Click one of the
Lecture X
links
- You might need to increase the file descriptor limit. See http://stackoverflow.com/questions/34588/how-do-i-change-the-number-of-open-files-limit-in-linux