A GUI programme that batch downloads files from courses on CUHK's Blackboard platform, so that you don't have to manually click on each file in a browser to download them.
Only works for CUHK's Blackboard platform.
Supported platform: Tested on Windows 10 with JDK 17.0.8 and JRE 1.8
May or may not work on other OS that support Java
-
Install a Java Runtime Environment
You'll need a JRE equivalent to or newer than Java 8
You can install the official one from Oracle
https://www.java.com/en/download/ -
Download a compiled jar executable from Releases.
-
Login to your CUHK Blackboard account through a broswer, such as Firefox or Chrome
-
Use a browser extension to export a (Netscape format) cookies file, in txt format
-
If you're using Firefox, use this extension:
"Export Cookies" by Rotem Dan
https://addons.mozilla.org/en-US/firefox/addon/export-cookies-txt/
For example:

-
If you're using Chrome, use this extension:
"Get cookies.txt LOCALLY" by kairi003
https://chrome.google.com/webstore/detail/get-cookiestxt-locally/cclelndahbckbenkjhflpdbgdldlbecc
For example:

-
But what is a cookie?
Think of it as a temporary key that allows login without entering an account and password.
The cookies from Blackboard expire every few hours so you'll need to re-export your cookies when they are expired.
-
-
Simply double click on Blackboard-Downloader-GUI.jar to open the application
-
Click "Load Cookies File" and choose the cookies txt file exported by your browser earlier. You should see a simlar screen:
Note: Only available courses (not "locked" on Blackboard's website) can be loaded -
Select a course from the list and click "Load Course Content" to load the file list of the selected course
-
Click on checkboxes to select files you wish to download
-
Click "Select Download Destination" to choose where the files will be downloaded to

The project is built using IntelliJ IDEA, with Amazon Corretto 8 JDK and JavaFX Scene Builder 20.0.0
The downloader library is modified from here:
https://github.com/MrMarnic/JavaDownloadLibrary
