This script helps to download NTU Lecture Video in a convenient way. This script will start by asking for ntulearn username and password. Using the information, it will show all the current modules you are taking and you can select any one of them to start downloading.
Run these line by line in terminal or command prompt.
pip3 install selenium
pip3 install bs4
Download the python file and place it in a directory. To use it, navigate to the directory in terminal or command prompt. For example, if the python file is placed in Desktop Folder, we can navigate to the Desktop directory by running the following line in terminal:
cd Desktop
Next, to run the file, simply type the following line:
python3 NTULectureVideoDownloaderConsoleApp.py
To avoid entering the credentials information during every launch, you can directly hardcode your credentials details into the code. In the top section of the code, you will find the following snippet:
...
#Enter Credentials information here
username = None
password = None
##
...
In this section, replace the None values with your actual credentials information, below is an example:
#Enter Credentials information here
username = 'sweesenkoh@student.main.ntu.edu.sg'
password = 'MyAmazingPassword'
##