Skip to content
A python script to download course contents (videos, ppt, pdf, etc) from coursera.org
Python
Latest commit e327d1c Jan 23, 2014 @siddharthasahu Fix login
Failed to load latest commit information.
README.md Minor edit of Python version info Jan 23, 2014
config.py Fix login Sep 29, 2013
coursera.py Fix login Jan 23, 2014
coursera_py3.py Fix login Jan 23, 2014

README.md

Coursera Downloader

About

This is a python script to download coursera lecture videos and files (updated to work with the Jan 2013 updates to coursera platform).

coursera.py has the following features:

  • saves cookies
  • shows download progress
  • can provide multiple coursenames at once

coursera_py3.py has the same features, and works for python v3

Installation and Usage

Requirements:

First edit the config.py file and provide the following details:

  • username
  • password
  • files to download: mp4, srt, txt, pdf, pptx
  • foldermapping: if you want the name of folder different from the coursename
  • downloadpath: files are downloaded to current directory by default

To start downloading, execute in a terminal:
python coursera.py coursename1 [coursename2 coursename3 ...]
Similarly for python3:
python3 coursera_py3.py coursename1 [coursename2 coursename3 ...]

Coursename can be determined from the url of the course.

eg: To download lectures of ml class (https://class.coursera.org/ml-2012-002/lecture/index), execute:
python coursera.py ml-2012-002

Multiple courses can be entered at once:
python coursera.py ml-2012-002 crypto-2012-003 algs4partI-2012-001

Limitations

  • Initially it downloads all the lectures from the beginning.
  • It does not resume incomplete downloads.

License

GNU GPLv3

Something went wrong with that request. Please try again.