Export your concordia schedule to an ics file for import to any calendar app in a quick and dirty way.
Python is a prerequisite to running this script, see the docs for download instructions.
$ python -m pip install -r requirements.txt
- Sign into MyConcordia.
- Navigate to My Student Centre, then click on Class Schedule > List View > select term of choice > Continue.
- Copy the enclosing html table which holds each course.
- The absolute xpath is
/html/body/div[1]/div[3]/div[1]/form/div[5]/div[1]/table/tbody/tr/td/div/table/tbody/tr[5]/td/div/table
- The easiest way to select what we need is by openning dev tools and searching the page source (
ctrl+F
) for the above path.
- Once selected, right click > Copy > Inner HTML (or something similar), and paste the contents into
myconcordia.html
. - Run the script via
python export.py
- The output calendar.ics can be manually imported into Google Calendar, or any other calendar app of choice.