How to Download Udemy Courses Onto Your Google/Shared Drive

Introduction |

Hello guys. I promised I was going to publish a post on how to download Udemy courses onto your Google/Shared Drive. This is an invaluable guide so follow me as I walk you through the entire process.

Why is this an Invaluable Guide

I stated above that it is an invaluable guide. Why did I say so? Anyone can as well download his Udemy videos. Yes, that’s true. However, this guide I am going to show you guys has some advantages:

1. It’s seamless and fast.

2. You don’t get to use your local internet data bandwidth allocation.

3. You get to store the videos directly into either your Google Drive or your Google Team (Shared) Drive.

4. It allows you the opportunity to host these downloaded videos online. I will publish another post on how to go about this. Stay tuned to this blog.

5. You can select the video download quality of your choice- 360p, 480p, 720p, 1080p or higher.

6. You get to download the videos with their subtitle files too.


1. You must have a valid Udemy account with courses you have enrolled into. Read my other blog post to know how to get your self a premium Udemy Business account with access to over 4000 courses.

2. You must have a Google account.

3. You must have a Google My Drive Cloud storage space or better still a Google Team (Shared) Drive cloud storage space which comes with unlimited storage. Read my other blog post on how to get a Google TD with unlimited cloud storage.


Obtain your Course Access Token and Course Link

1. Open your browser and login to your Udemy account.

2. Navigate to your course of choice (which you have enrolled for).

3. Press the F12 button or use the keys combination: “Shift + Ctrl + I” to open the Inspect page. You can equally right click on the course page and select “Inspect“.

4. Click on the “Application” button on the far right of the Inspect screen.

5. Click to expand the “Cookie” menu and select the Udemy website.

6. Under the filter box, type in “Token” and select the first option, “access_token“.

7. Double click on the access_token keys outside the table and press “Ctrl + C” to copy the token to the clipboard for use later on.

8. While you are on this page, click on the browser address bar and copy the link of the Udemy course.

How to Download Udemy Courses Onto Your Google/Shared Drive
How to get Udemy course cookie

Setup Your Google Colab Script

The next step is to setup your google colab script. This is what we shall be using to download the courses. I will publish another post on the various uses of Google colab. But for now, let’s ride on.

1. Visit the Google colab page.

2. Download the ipython notebook we are going to use to run these script from this link. Alternatively click on this link to run my Google colab directly.

3. Click on the upload tab in your Google colab and navigate to where you stored the download notebook in step 2 above.

How to Download Udemy Courses Onto Your Google/Shared Drive
Google colab

4. Let’s first initialize our Google colab so it doesn’t use our local Internet data bandwidth.

5. Go to the “Runtime” tab and select “Change runtime type” from the dropdown list. In the dialogue box that pops up, select, “GPU” as the Hardware accelerator. Click on save.

6. On the far left, click on connection and select “Connect to hosted runtime”.

7. The difference between hosted and local runtimes is this: Hosted runtime makes use of Google colab resources while local runtime makes use of your local resources. Resources here refer to your computer CPU, RAM and internet bandwidth.

8. Now run the cell in the first box. This will download all the requirements we need. It’s just a few megabytes in size. It’s a one-time thing.

How to Download Udemy Courses Onto Your Google/Shared Drive
Udemy Course download with Google colab
How to Download Udemy Courses Onto Your Google/Shared Drive
Installing Google colab Requirements

9. Click to run the script in the 2nd and 3rd cells one after the other. This will mount your Google Drive onto Google colab. To complete this process, click on the link provided in the box and select your Google account of choice (if you are logged in to several accounts on your browser). Accept all the prompts and finally copy the authorisation code at the end. Paste the authorisation code into the box provided near the script and press “Enter”.

How to Download Udemy Courses Onto Your Google/Shared Drive
Google drive Authorisation
How to Download Udemy Courses Onto Your Google/Shared Drive
Mounting Google drive in Goolge colab

10. Run the 4th cell to mount your Google drive. Note that by default, the mount point is in My Drive. You can change this though if you need to download the courses into your TD.

11. Finally modify the last cell according to your preferences and run the script. You can run the following modifications as explained below:

12. Paste the website page link to the udemy course you copied in the step above into the “Course_url” box.

13. To change the default download directory from your Google My Drive to your TD, do the following.

14. Click the folder icon on the left side of the screen. This lists all your drives including your TD if any. Navigate to the TD you wish to use as your download destination, right click on it and select “New Folder”. Name the folder “udemy-dl”. Right-click on the newly created folder and select “Copy path”. Paste this copied path into the “Download_Dir” box.

How to Download Udemy Courses Onto Your Google/Shared Drive
Create a new folder under your TD

15. Paste the access token you copied above into the “Access_Token” box and finally select the video quality of your choice.

16. Now click to run the script and see the seamless process of download unfold.

How to Download Udemy Courses Onto Your Google/Shared Drive
Udemy Course being Downloaded into my TD

17. All you need to change when you are done downloading a course and need to download the next course is: the course url and the access token. All other settings remain unchanged.


The entire initial setup won’t take you 10 minutes. Once you are done, it’s a walk in the park. Use this guide and this opportunity to download and archive all the courses you are interested in. Cloud storage is here to stay. Read my other post about Google cloud storage and Team Drives. To get your personal Team Drive with unlimited storage space, read my guide here.

To learn how best to efficiently manage your numerous Cloud storage accounts seamlessly, read this my blog post. Don’t forget to use the subscription box below to get notified when ever such informative posts are published on EduTechTainMent.

Credits to: Nasir Khan, the developer of Udemy_DL script and VIP for the collab script. Modifications and improvements by EduTechtainMent.

Get Free Email Updates from EduTechTainMent!

Signup now and receive an email once I publish new content.

I agree to have my personal information transfered to MailChimp ( more information )

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Follow/Contact EduTechTainMent:


Send Comment Edit Comment

 ̄﹃ ̄
∠( ᐛ 」∠)_
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
( ๑´•ω•) "(ㆆᴗㆆ)