A lightweight Python script to clear all discussion posts on My Courses.
As of version 1.0 of this project, only Chrome is supported but you only need to modify one line of code to use a different search engine
-
Download the code either as a zip or by cloning the repo
-
Ensure Python in installed by running
python --version
in a command terminal- If python is not installed, visit https://www.python.org/downloads/ to install
- Make sure you allow the installer to save Python as a global variable
-
In a terminal, run
pip install selenium
to install the necessary library
-
Locate the path to clearBoard.py file
-
In a command terminal, execute
python YOUR_PATH_HERE/clearBoard.py
- If an error occurs, make sure you have the correct file path and python was correctly installed by running
python --version
again
- If an error occurs, make sure you have the correct file path and python was correctly installed by running
-
The terminal will prompt you for the URLs you want to clear. Enter each URL separated by a comma and press enter
-
The project will now launch Chrome. Due to security reasons, each time you run the program you will need to log into My Courses and use Duo Mobile
-
Once you have logged in the script will automatically complete the task and close itself once finished