Package: edx-dl
Descriptionedx-dlis a simple tool to download videos and lecture materials from Open
edX-based sites.  It requires aPythoninterpreter (>= 2.7) and
very few other dependencies.  It is platform independent, and should work
fine under Unix (Linux, BSDs etc.), Windows or Mac OS X.We strongly recommend that, if you don't already have a Python interpreter
installed, that youinstall Python >= 3.6, if possible, since it
is better in general.Installation (recommended)To install edx-dl run:pip install edx-dlManual InstallationTo install all the dependencies please do:pip install -r requirements.txtyoutube-dlOne of the most important dependencies ofedx-dlisyoutube-dl. The
installation step listed above already pulls in the most recent version ofyoutube-dlfor you.Unfortunately, since many Open edX sites store their videos on Youtube and
Youtube changes their layout from time to time, it may be necessary to
upgrade your copy ofyoutube-dl.  There are many ways to proceed here, but
the simplest is to simply use:pip install --upgrade youtube-dlQuick StartOnce you have installed everything, to useedx-dl.py, let it discover the
courses in which you are enrolled, by issuing:edx-dl -u user@user.com --list-coursesFrom there, choose the course you are interested in, copy its URL and use it
in the following command:edx-dl -u user@user.com COURSE_URLreplacingCOURSE_URLwith the URL that you just copied in the first step.
It should look something like:https://courses.edx.org/courses/edX/DemoX.1/2014/infoYour downloaded videos will be placed in a new directory calledDownloaded, inside your current directory, but you can also choose another
destination with the-oargument.To see all available options and a brief description of what they do, simply
execute:edx-dl --helpImportant Note:To use sites other than <edx.org>, youhaveto specify the
site along with the-xoption. For example,-x stanford, if the course
that you want to get is hosted on Stanford's site.Docker containerYou can run this application viaDockerif you want. Just install docker and rundocker run --rm -it \
       -v "$(pwd)/edx/:/Downloaded" \
       strm/edx-dl -u <USER> -p <PASSWORD>Reporting issuesBefore reporting any issue please follow the steps below:Verify that you are running the latest version of all the programs (both
ofedx-dland ofyoutube-dl).  Use the following command if in doubt:pip install --upgrade edx-dlIf you get an error like"YouTube said: Please sign in to view this video.", then we can't do much about it. You can try to pass your
credentials toyoutube-dl(seehttps://github.com/rg3/youtube-dl#authentication-options) with the use ofedx-dl's option--youtube-dl-options. If it doesn't work, then you
will have to telledx-dlto ignore the download of that particular
video with the option--ignore-errors.If the problem persists, feel free toopen an issuein our
bugtracker, please fill the issue template withas much information as
possible.Supported sitesThese are the current supported sites:edXStanfordUniversity of SydneyFrance Université NumériqueGW Online SEAS- George Washington UniversityGW Online Open- George Washington UniversityThis is the fulllist of sites powered by Open edX. Not all of them
are supported at the moment, we welcome you to contribute support for them
and send a pull request also via ourissue tracker.AuthorsSee the contributors to the project in theAUTHORS.mdfile.  If
you have contributed to the project, we would like to gladly credit you for
your work. Just send us a note to be added to that list.