This is an installation and runnable Docker for edx-downloader https://github.com/shk3/edx-downloader
The instructions assumes you have docker and Make installed on your system. It was tested on OSx, but should work on Linux as well.
Run
make
Now are in a docker with an installed edx-downloader Your computer's current folder is mounted inside the docker's current folder
Simply run
python /edx-downloader/edx-dl.py -u '<username>' -p '<password>' <course url>
Or for on demand courses
python /edx-downloader/edx-dl.py -u '<username>' -p '<password>' --on-demand <course url>
Here is an example of a course url: https://courses.edx.org/courses/edX/DemoX.1/2014/info
It can also be checked with:
python /edx-downloader/edx-dl.py -u '<username>' -p '<password>' --list-courses
When the download is complete run
exit
Now your current folder should contain all the videos.
Enjoy!!!