This project is not maintained. My motivation to implement the feature of downloading course videos from CDN is to bypass GFW. I noticed d37djvu3ytnwxt.cloudfront.net
is sometimes interfered by GFW. So I lost the incentive. Btw, the feauture of downloading course videos from CDN has been implemented in the original project coursera-dl/edx-dl.
Simple tool to download video lectures from edx.org.
You are recommended to use stand-alone executables. Choose the link according to your operating system,
Otherwise, it requires the Python interpreter (> 2.6), youtube-dl, BeautifulSoup4 and it's platform independent. It should work fine in your Unix box, in Windows or in Mac OS X.
If you use the stand-alone executables converted by PyInstaller, ignore this part.
By default, this program will download video from CDN directly. However there may be some videos hosted only on youtube. So you are recommened to install youtube-dl
. Also, since Youtube changes its
layout frequently, make sure that the version of youtube-dl
that you have
installed is the latest. If in doubt, run youtube-dl --update
.
You can find youtube-dl
at http://rg3.github.io/youtube-dl/download.html.
Scrapping the web can be very silly task, but BeautifulSoup makes it so easy :), it isn't included in the python standard library. Make sure you have BeautifulSoup installed.
You can install it with
pip install beautifulsoup4
or
easy_install beautifulsoup4.
For more info, see http://www.crummy.com/software/BeautifulSoup/#Download.
Python implementation for edx-downloader
The original file was written by @shk3 in/for python3
then updated
by @emadshaaban92 for python2, and migrated for versions superior to
2.6 by @iemejia.
To use edx-dl.py
, simply excute it, as in:
python edx-dl.py
You will then be asked your username and password.
Your downloaded videos will be placed in a new Directory called "Downloaded". The script is very interactive, and if you have a issue please tell us.
You can also excute it with arguments given: email and password, as in:
python edx-dl.py [-u [email protected]] [-p password]
If you want to download video from youtube instead of CDN, append the parameter --no-cdn
to the command,
python edx-dl.py [-u [email protected]] [-p password] --no-cdn