Script for locally downloading all files from your personal Blackboard page
- Python 3.9 or up
- Beautiful Soup 4
pip install beautifulsoup4
- Requests
pip install requests
- Login to Blackboard
- On the home page (where the course list is) right click anywhere on the screen and click "inspect" to open the developer tools
- Look for the "Network" tab and open it
- Refresh the page
- You'll see a lot of requests appear. Find the first one and right click on it.
- Click copy then copy as cURL
- Go to https://curlconverter.com/ and paste the cURL request into it to get the request headers and cookies in Python
- Copy the
headers
andcookies
variables and paste them intoheaders.py
- Go back to the Blackboard homepage and open the Console tab in the developer tools
- Copy the contents of
getCourseLinks.js
and paste it into the console and press Enter. - Right click on the output and click "Copy Object"
- Paste the object in place of
#PASTE HERE
incourse_links.py
- Save changes
- Run
python3 scrape.py
to start downloading