Download Blackboard course exports from Curtin University's LMS
Project description
course-dl
Download Blackboard course exports from Curtin University's LMS.
Installation
uv tool install course-dl
playwright install chromium
Or install from source:
git clone https://github.com/michaelborck/unit-dl.git
cd unit-dl
uv sync
uv run playwright install chromium
Usage
Basic usage
# Export specific units
course-dl COMP1000 ISAD1000
# Export units from a file
course-dl -f units.txt
# Export all available courses
course-dl --all
Options
course-dl [UNITS...] [OPTIONS]
Positional:
UNITS Unit codes (e.g. COMP1000 ISAD1000)
Options:
-f, --file PATH File with unit codes (newline or comma-separated)
-u, --username STR Curtin username
-p, --password STR Curtin password
-o, --output-dir PATH Output directory (default: ./exports/)
--all Download all courses visible in Blackboard
--overwrite Re-download courses that already exist locally
--visible Show the browser window (default: headless)
--timeout INT Navigation timeout in ms (default: 60000)
Skip / overwrite behaviour
By default, course-dl skips courses that already have a .zip file in the output directory matching the unit code. Use --overwrite to force re-download.
Credentials
Credentials are resolved in order:
- CLI flags (
-u,-p) - Environment variables (
CDL_USERNAME,CDL_PASSWORD) .envfile (searched in order):~/.config/course-dl/.env~/.course-dl.env./.env
- Interactive prompt
Copy .env.example to one of the above locations:
cp .env.example ~/.config/course-dl/.env
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file course_dl-0.1.0.tar.gz.
File metadata
- Download URL: course_dl-0.1.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
692e754d67272c0fb424708fdacf18aafb57327007477f14850ed5a1cb2777a1
|
|
| MD5 |
ece1f5146194ce5113878e8a23c3c594
|
|
| BLAKE2b-256 |
421c579d3ca38773f433be51979d421e5a7b03866197d2320bdda67d545a1227
|
File details
Details for the file course_dl-0.1.0-py3-none-any.whl.
File metadata
- Download URL: course_dl-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7b1d266f2c84a2979394efcc553ec0b3ab8cd98dd12c77eba04400c9a8b3635
|
|
| MD5 |
aa3ea58b4ae4776364084b893b61a4d3
|
|
| BLAKE2b-256 |
ffac18ef60fa2bec7955f29d9c8b4da0b5dbe69d70e02ba537cc6cc3c0d15fd7
|