The purpose of this repository is two-fold:
- To provide an iCalendar file for KAIST academic calendar.
- To demonstrate how to use Python to scrape a website and convert the data to iCalendar format.
The iCalendar files, suitable for import into most calendar applications, are available in the generated directory of this repository.
Most calendar applications support loading .ics files via URL.
- Enter generated directory.
- Choose the year you want to import.
- Right-click the "Raw" button and select "Copy link".
- Paste the copied link into your calendar application.
Alternatively, you can download the .ics file. After choosing the .ics file,
- Click on the "Download" button. Or,
- Right-click the "Raw" button and select "Save link as".
The script included in this repository is designed to download the academic calendar from official KAIST website and convert it into the iCalendar format.
- Install the required python packages.
$ pip install -r requirements.txt
- Run the script. The .ics file will be generated in the current directory.
$ python script.py -y 2023
The Unlicense. See LICENSE.txt for full text.