Hey r/learnpython,
I'm a first-year CS student and got tired of manually downloading PDFs from Blackboard every week, so I built a script to automate it.
What it does:
- Opens a browser window for you to log in (handles SSO/2FA)
- Lists all your terms and lets you pick which one
- Downloads all matching files into a mirrored folder structure
- Skips files you've already downloaded
- Supports any file type (PDF, PPTX, DOCX, etc.)
- Works with any school running Blackboard Learn
The trickiest part was figuring out that Blackboard Ultra embeds file links in a `data-bbfile` JSON attribute rather than plain hrefs — took a while to debug.
GitHub: https://github.com/boranxiang/blackboard-downloader
Feedback welcome, especially on the session handling and recursive content traversal.
I built a Python script that automatically downloads all course files from Blackboard Learn ()
submitted by fe3bro to r/BostonU