Yesterday, AnonyViet showed you how to get free courses on Udemy. If you already have a collection of courses on Udemy and want to Download to learn Offline, take advantage of Google Colab to Download and store. In this article, I will guide you to Download Udemy course with Colab.
Join the channel Telegram of the AnonyViet 👉 Link 👈 |
How to Download Udemy Course with Colab
I also repeat what is Colab? This is a Google virtual server that helps students or programmers set up small projects related to machine learning, artificial intelligence. We can take advantage of the resources of the Google server connected to Google Drive to download Udemy courses by Colab quickly.
According to my test, the speed is about 17Mbps, so in a few minutes you can finish downloading a course.
Use Colab to Download Udemy Videos as follows:
The condition to download the Video is that your Udemy account must already own the course, if you don’t have it, use it Udemy Course Grabber to get the Free key.
First you need download notebook file Udemy Course Download function is preconfigured.
Now go to the Google Colab page and select File -> Upload Notebook. Select File Udemy_Downloader.ipynb just downloaded on bounce.
Next click on the triangle in the upper left corner to start running the Code.
In the first line will download the libraries that support downloading Udemy Videos
The second code is to assign Google Drive to your Colab. After running the code, a Google link will appear. You click and allow to get the Authorization Code. Then go back and paste the Code in the box Enter your authorization code and press Enter
If successful, you will see a message Mounted at /content/drive
Next run the 3rd Code to move back to the directory udemy-dl
Now in the Finally, Run Below Cell After Filling All the Detailsyou need to do the following:
On the browser, open a new tab and log in to Udemy. After successful login, press F12select Application, Look at the menu on the left and choose Cookies -> Udemy. Look through the box to the right to enter the text access in the Filter box to display the box access tokencopy the code in place Value
Return to the Google Colab tab, enter the information
- Course_Url: link of the Udemy course you want to download
- Download_dir: leave it blank
- Access_Token: copy the code just taken above
- Subtitle_lang: en or if there is a Vietnamese sub, write vi, if not, leave it as default
- Quality: 720
Click the Triangle button in the upper corner to start Downloading Udemy with Colab.
Wait a moment you will see the udemy-dl interface appear and the information of the lectures is downloaded.
To view the downloaded folder, open Google Drive to view or look through the left window of Colab, click on the folder icon and select udemy-dl to see the video and sub of the Udemy lecture saved here.
Now from Google Drive you can download it to your computer and learn Offline.