HOW TO DOWNLOAD FULL edX COURSES ON YOUR COMPUTER – Part 2

Yay! it’s finally here!

Hi everyone! it’s Faith again, your DIY expert and friend.

For most of you who have not seen my last post which the first part of this installment series HOW TO DOWNLOAD FULL edX COURSES ON YOUR COMPUTER – Part 1. Please do as it is necessary to enable you follow along well in this post.

In the last tutorial, we downloaded python interpreter and had it installed on our windows PC. We also did get pip package installer set up on our python. We ended with downloading the edx-dl package from the source’s github page.

Today which concludes the series, we shall be tying the knots together to start downloading free open edX courses onto your computer. And Note, you can also use this method to download courses from coursera, harvard etc.

Now, I asssume you have python installed on your computer and it’s running from the command line (CMD). And that you have downloaded the edx-dl package from github. I also know for now, PIP is set up on your python, OK?

Remember that I advised that you should extract the contents of the edx-dl ZIP downloaded into the C:\ or in fact anywhere you want to put it on your computer. The location doesn’t matter much.

Like I said earlier, this tutorial is basically for the non-programmers: people who cannot read documentation, debug etc. So hackers here should please bear with me because I will only put the codes, hook line and sinker for everyone to input and see the result, OK? Thanks.

STEP 1:
NAVIGATE TO THE FOLDER YOU EXTRACTED THE edx-dl PACKAGE ON YOUR COMPUTER FROM THE COMMAND LINE (CMD)

The very first step in this tutorial is that you navigate to the folder you extracted the edx-dl package from the command line. See both pictures of the said folder on my PC in GUI and in the DOS prompt (CMD).

By now, I’m sure you know how to open the Command Prompt on windows. If you’re not sure go back to check the part 1 of this series HOW TO DOWNLOAD FULL edX COURSES ON YOUR COMPUTER – Part 1

TYPE ON CMD PROMPT and press ENTER:
how to download edx courses on computer

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Win8>cd C:\edx-dl-master

Your prompt will change the current directory to the edx-dl like in the picture below.
how to download edx courses offline
Now that you have navigated into this folder, we are going to enter some commands before we start downloading. This takes us to Step 2 of this part.

STEP 2:
INSTALLATION OF edx-dl.
We have to install edx-dl tool first before any other thing which is not a big deal. Right from the prompt INSIDE THE EDX-DL-MASTER FOLDER, enter these commands. NB: You must have internet connection of course.

To install edx-dl run:
pip install edx-dl
See the image below

Once you type in the above command and press ENTER pip will install the edx-dl on your computer.

STEP 3:
UPDATE OR UPGRADE THE YOUTUBE DOWNLOADER (youtube-dl) BUNDLED WITH edx-dl

In the part 1 of this tutorial, I told you that one other important tool necessary is the youtube downloader which you don’t need to worry about because it has already been bundled with the edx-dl package you downloaded and installed in STEP 2.
To upgrade youtube-dl run:
pip install --upgrade youtube-dl
as in the image below

GREAT! We’re getting there.
Now, you have gotten everything set up to use edx-dl.py to download full edX courses onto your computer.

STEP 4:
You have to let edx-dl discover the courses you (in fact, all of the courses you ever enrolled in) on the edX platform.
You do this by typing inside the prompt in the edx-dl-master folder….
edx-dl -u user@user.com --list-courses
N.B: The user@user.com is the email you use on edX
So if the email you used to signup for edX is adamsmith2003@gmail.com ,
The above code will be :
edx-dl -u adamsmith2003@gmail.com --list-courses
Once you press ENTER, it will ask you (in that same BLACK command line) for your PASSWORD – the password you use to sign in to the edX website. See pictures!

how to download edx courses

THE RESULT OF THESE COMMANDS IS A LIST OF ALL THE COURSES YOU’RE ENROLLED ON EDX… SEE MINE IN THE PICTURE BELOW….
how to download edx courses on PC

Can you see a list of all the courses you are enrolled in on edX which you can access currently. Some courses such as those that are already archived may not be accessible through this means. But I bet you’ll find what you’re looking for there.

Copy the result from the above courses-list picture and paste them into some word processor – MS-word or notepad –
You will need the course-URL attached to each of the course on the list soon.

VERY IMPORTANT NOTE
I have to tell you this. I almost forgot actually. To copy from the Command line in windows is not easy so just RIGHT-CLICK on the TaskBar of the CMD prompt and choose “Properties” => THEN select “Quick Edit Mode” See picture…

how to download edx courses online

I’m so sorry for the digression….
Now, to download any course just get into the edx-dl-master folder on Command prompt

C:\edx-dl-master>
Type:
edx-dl -u user@user.com COURSE_URL
For example, I want to download the introduction to python for data science course…

I will do
edx-dl-master -u faitholusegun60@gmail.com https://courses.edx.org/courses/course-v1:Microsoft+DAT208x+4T2017/course/
Once you press enter, the edx-dl tool will ask for your password and download starts.

Once it is downloaded, a new folder “Downloaded” will be opened in your C:\edx-dl-master folder and you will find your courses downloaded inside – from videos to spreadsheet, codeblocks, PDF’s, everything in the course will be there.

That’s it for this tutorial. I hope you now understand how to download edX courses onto your computer.

Thank you very much for reading from the beginning till the end and I hope I didn’t bore you too much with my over illustrations.

So sip you favourite beverage and enjoy your downloaded edX courses without having to use internet and login to the edX website going from one section and module to another.

From your friend and DIY expert,
Faith.

Don’t forget to share this article with your friends. There are so many people who need it…

Leave questions in the comment section.

HOW TO DOWNLOAD FULL edX COURSES ON YOUR COMPUTER – Part 1

Hi Everyone! It’s Faith again. I can’t remember when last I made a post on this blog. probably 2015, or 2016 or maybe 2018. Let’s just forget the past and move on with life.

So, yesterday I made an update on Facebook on how possible it is for someone to download full MOOC on edX onto your computer. I got lots of requests from interested persons from WhatsApp and Facebook. This motivated me to create a blog post addressing the issue, hence providing a catch-all answer to everyone’s questions and at same time resuscitating my long-dead wordpress blog https://faitholusegun487.wordpress.com

I will try to make this tutorial and as easy to understand as possible. I will make it less technical for people with no programming backgroung or experience.

So let’s get right to it, no perambulation….

HOW TO DOWNLOAD FULL EDX COURSES ONTO YOUR COMPUTER
Our GOAL
Download Full courses orderly arranged module, section and course-wise in a folder on your laptop…
Before we continue, let me show you why I think this is the most efficient way…..
When you download courses through this method, besides the fact that you don’t have to go on YouTube downloading all the videos one after the other (that’s if you even found them on YouTube), this method searches the videos, downloads them and automatically arranges them as defined on the course platform – course edX page. All files downloaded are dumped into a folder named as the exact COURSE NAME/TITLE on edX. Each module are orderly arranged into folders….
Also, besides video contents of the lectures that are downloaded, other files in the course such as PDF’s, Excel spreadsheet XLS, code or script files, and other written contents are also downloaded and placed in the appropriate folders they belong.

See the pictures below for what you are going to obtain after doing..
Illustro_Faith how to download full edx courses onto your computerFaith_Illustro..how to download full edx courses onto your computerr

Requirements:

Most users who contacted me use the windows Operating System so take it the tutorial will take a window-centric approach. Other OS’ users like Linux and MAC too can follow along as the processes are similar as long as core requirements are installed on the PC.

  • Microsoft Windows 7, 8, 8.1, and 10
  • Be sure to check if your system is 64 bit or 32 bit to remove all hassles when you want to install necessary softwares and dependencies.
    N.B: You can check if your system is 64 or 32 bit by going to either “My Computer” or “This PC” on your computer. Right Click on the “My Computer” or “This PC” icon and select “Properties”. Here, you will find out if your Windows OS is 32 bit or 64 bit…….
    32 bit windows

    This will be useful when you want to install “python”….

  • “Python”
  • with the “pip” package platformer installed… Newer versions of python – 3.6, 3.7 and 3.8 have pip included with it so no need for separate installation of “pip” except if you want to update pip….

  • “edx-dl”
  • package which is found on Github-> See the link to download here

  • “youtube-dl”
  • -> this is already included with the edx-dl package though you might still need to upgrade it for compatibility….

    STEP 1:
    INSTALL PYTHON – SET UP PIP PACKAGE INSTALLER.

    To install python on your computer if you don’t have it already, go to the official python software foundation page here
    For example, direct download link to version 3.7.7 for 32 bit windows here

    Download the Python Executable Installer (EXE) format compatible with your PC (that is, 64 bit or 32 bit…. 32 bit is also written as x86 bit).
    After python executable installer has been downloaded, locate where it is downloaded on your laptop (default is the “Downloads” folder C:\Users\Public\Downloads) and THEN “right click” on it (the python exe file) choose “Run as Administrator” to install.

    You can follow through the installation with all the Defaults and most importantly during installation “Check the Allow Python to be added to PATH variable checkbox.” This is important as it will enable you to be able to execute python commands from your command line (Windows DOS prompt – CMD).

    After successful installation of Python on your PC, test if everything works fine by going to the command prompt. I am afraid that I’m starting to sound very technical which I want to avoid in this DIY tutorial….
    OK! Let’s go on. To go to command line on Windows…. Press down the Window Key on your keyboard + R key. The DOS Run prompt is open at the bottom left corner on your PC screen. In the input Field, type “CMD” or “cmd”, press enter, you will enter the command prompt.
    The command prompt is the black screen with text on it….. You would see this
    CMD prompt

    To test if python is installed (provided your checked the “Add Python to PATH box”), just type “python” in the above command line… you should get something like this.

    Python Prompt CMD

    This shows that you have python installed and are ready to go…..
    We also need to check if “pip” is installed and ready to go on your python…
    Press “Control+Z” then “ENTER” to exit the above python prompt and type this in the DOS prompt
    “where pip” or you type “pip –version” plus ENTER…. If pip is available then you will have this….. showing the location where “pip” is installed on your computer…. The same thing could be used to check for python installation “where python” or you type “python –version” NB: the dash is double dash —

    pip check prompt....

    Oh I’m so sorry! I think this post is getting boringly long. This is what I will do. I will break it into two parts – this current post, part 1 for installation of necessary softwares and dependencies – and part 2 shall be for actually doing the dirty work of downloading; that is, achieving the goal we set from the beginning of this tutorial.
    Now, having installed “python” and “pip” is running on our test PC, we will go to the last section of this part which is downloading the “edx-dl”

    package from github….. That takes us to Step 2 of this tutorial.

    STEP 2:
    DOWNLOAD THE edx-dl PACKAGE FROM COURSERA’S GITHUB PAGE……

    First, what is edx-dl?
    According to the Source’s Github page, the edx-dl is a simple tool to download videos and lecture materials from Open edX-based sites. It requires a Python interpreter (>= 2.7) and very few other dependencies which you my audience (that I assume to be not really technical or programming-savvy people) do not need to worry about. At least not now.

  • Fire up your web browser and visit this direct link
  • to download the edx-dl package from the source’s github page

    edx-dl download

    You will find a button captioned “Clone or download”, click it and you will find “Open in Desktop” and “Download ZIP.” Choose the “Download ZIP” option to download. Your browser will download it on your PC. See the image attached below…
    download edx-dl ZIP
    Once the download has finished, Locate the ZIP File in your computer “Downloads” folder or wherever it is. Right Click on the ZIP File and Click “Extract”…. I do recommend that when the extract dialog opens, you should set the extract to target folder to your C:\ root folder…. It might be very useful to keep you out of unwarranted Windows path issues when using the tool…..
    Once you have successfully extracted the files in the ZIP, you should have the path to the extracted folder to be C:\edx-dl AND the good news is you have come to the end of Part 1 of this tutorial series. Because you have successfully installed on you need to start downloading your beloved edX MOOC’s onto your own computer. Take your favourite beverage and relax, waiting for me to cool off my head to drop the Part 2.

    Don’t forget to share this post if you like it and comment.

    Thank you for taking your time to read this long and overly boring tutorial. Share you views and questions in the comment section below and I’ll be sure to answer every single one of them. And who knows maybe I will probably still follow this tutorial up with a YouTube video.

    Still your boy and DIY troubleshooting expert,

    Faith….
    See y’all in the next tutorial

    YOBE STATE UNIVERSITY’S PRE-DEGREE ADMISSION LIST – 2015/2016.

    After Rigorous screenings and scrutiny, The Yobe State University Nigeria has finally released the pre-degree Admission list for the 2015/2016 academic session. You can check for more details on ‘www.myschoolgist.com.ng’ Here OR Download directly the Admission list.

    University Of Lausanne (UNIL) Masters Scholarship for Foreign Students-2015/2016.

    The University of Lausanne, Switzerland (UNIL) has provided opportunities for  International  Students to Pursue a Masters Degree at the University for the year 2015/2016.

    Eligibility: All Foreign students.

    N.B:Scholarship is based only on All Courses Offered by the University of Lausanne.

    Deadline: 15th December, 2015

    Check Here for more Eligibility options and Apply!