Sunday, January 31, 2016

Coursera Offline

A lot of good classes on coursera for free these days! Love that site.

Now, it is all good, but what if you are traveling and don't have reliable internet connection or no connection at all and you still want to watch the videos?

Of course, you can download videos by hand, but it is a pain.

I found this useful github project that can help you
https://github.com/coursera-dl/coursera

You need python 3 and pip 3 (I tried to do it with python 2 and it choked. plus the author of plugin strongly encourages to use python 3 due to encryption, etc)

Steps to get these files on Ubuntu OS
0. Update!
apt-get update

1. Install python 3 - if you are using Ubuntu 14.04, you already have it.

2. Install pip 3
apt-get install python3-pip

3. Per instructions (here) install coursera plugin
pip3 install coursera

4. Per instructions (here) supply your username and password as well as the course that you want to download
coursera-dl -u <user_name> -p <password> <course_name>

5. After some time you will see folder <course_name> with all videos and lecture notes broken down per section.

Enjoy studying off line!


No comments:

Post a Comment