# coursesical **Repository Path**: cdfmlr/coursesical ## Basic Information - **Project Name**: coursesical - **Description**: iCalendar课程表 - **Primary Language**: Python - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-12 - **Last Updated**: 2021-03-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # coursesical Courses to iCalendar. 【自用】爬取学校教务系统,获取课表,做成 iCalendar 文件 (.ics),导入到系统日历 app。 ## Dependence - selenium - lxml - beautifulsoup4 - icalendar - chrome & chromedriver (⚠️ manually install) ## Usage ```sh python3 -m coursesical -s SID -p PASSWORD -f "2021-03-01" ``` 用日历 app 打开生成的 coursesical.ics 即可。 ## References - [rfc2445: iCalendar](https://tools.ietf.org/html/rfc2445) - [iCalendar package docs](https://icalendar.readthedocs.io/en/latest/usage.html) - [aruul: 使用python生成ical-ics-文件](https://aruul.github.io/2020/08/08/使用python生成ical-ics-文件/) - [aruul: ical文件代码结构说明](https://aruul.github.io/2020/08/07/ical文件代码结构说明/) ## License MIT License Copyright (c) 2021 CDFMLR