Skip to content

Webscraper to export course schedule from atlas.ai.umich.edu to ics file

Notifications You must be signed in to change notification settings

kvnshu/atlas-to-ics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update Oct 2024:

Atlas has since implemented an "import to gcal" feature, so this script is unnecessary.

Atlas to .ics

Export class schedules from atlas.ai.umich.edu as an .ics file

How to use

  1. Clone this GitHub repository locally
  2. You'll also need Python 3.10 or newer on your computer in order to run this program.
  3. Rename secret.json.template to secret.json
  4. Update the values in secret.json as necessary. password should set as your password to U-M Weblogin.
  5. Create a virtual Python environment inside the root directory and install dependencies in the active virtual environment:
\\For Windows PowerShell:
python3 -m venv venv/
venv\Scripts\activate
python -m pip install -r requirements.txt
\\For Linux or MacOS:
python3 -m venv venv/
source venv/bin/activate
python -m pip install -r requirements.txt
  1. Run main.py in your terminal. Be sure to have your phone nearby so that you will be able to verify the Duo Push request.
python main.py
  1. An .ics file should have been created in the same directory as main.py
  2. Import .ics file into your calendar

Limitations

  • The scraper won't work if Atlas or Atlas Schedule Builder is down.
  • The scraper doesn't take into account breaks, holidays, or other edge cases. You'll have to remove classes for fall/spring break.

If you're interested, I also wrote a Medium Post about how I built this webscraper.

About

Webscraper to export course schedule from atlas.ai.umich.edu to ics file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages