A helper JavaScript program to download NPTEL courses.
Note: The course content must have been released in order for you to make use of this script. The script will work even if only one week's content is released.
- Navigate to the course website.
- Access the developer tools either by using
CTRL+SHIFT+I
or by clicking on the three vertical dots at the top left and selecting the appropriate option from the menu. - Go to the console tab.
- Copy and paste the code from "nptel_link_extract.v1.js" into the console.
- Press Enter.
- The script will generate a Linux bash script.
- On Unix/Linux, you need to modify the execution permissions using
chmod u+x
. - On Windows, rename the downloaded file's extension to
.bat
, replace all occurances of % (percent sign) to %% (double percent) within the file, and run it in a command prompt.
- On Unix/Linux, you need to modify the execution permissions using
Note: Make sure you have the necessary permissions and dependencies installed before running the script.