roife/BUAAIcsGen

Parsing error for some courses

GrapeLemonade opened this issue · 1 comments

The script did not generate corresponding classes for Week 1-2, and duplicated classes in Week 3-14.

Course Information:

电子设计基础训练</br>哈聪颖[1,2]周,哈聪颖[3-14]周,康  骊[1,2]周,康    骊[3-14]周</br>主南303     第1,2节

Parse Results:

BEGIN:VEVENT
DTSTAMP:20190902T123110Z
DTSTART;TZID=Asia/Shanghai:20200314T080000
DTEND;TZID=Asia/Shanghai:20200314T093500
RRULE:FREQ=WEEKLY;COUNT=12
SUMMARY:电子设计基础训练
LOCATION:

DESCRIPTION:电子设计基础训练 哈聪颖[1,2]周,哈聪颖[3-14]周,康  骊[1,2]周,康  骊[3-14]周 主南303 第1,2节
BEGIN:VALARM
TRIGGER:-PT60M
REPEAT:1
DURATION:PT1M
END:VALARM
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20190902T123110Z
DTSTART;TZID=Asia/Shanghai:20200314T080000
DTEND;TZID=Asia/Shanghai:20200314T093500
RRULE:FREQ=WEEKLY;COUNT=12
SUMMARY:电子设计基础训练
LOCATION:

DESCRIPTION:电子设计基础训练 哈聪颖[1,2]周,哈聪颖[3-14]周,康  骊[1,2]周,康  骊[3-14]周 主南303 第1,2节
BEGIN:VALARM
TRIGGER:-PT60M
REPEAT:1
DURATION:PT1M
END:VALARM
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20190902T123110Z
DTSTART;TZID=Asia/Shanghai:20200314T095000
DTEND;TZID=Asia/Shanghai:20200314T112500
RRULE:FREQ=WEEKLY;COUNT=12
SUMMARY:电子设计基础训练
LOCATION:

DESCRIPTION:电子设计基础训练 哈聪颖[1,2]周,哈聪颖[3-14]周,康  骊[1,2]周,康  骊[3-14]周 主南303 第3,4节
BEGIN:VALARM
TRIGGER:-PT60M
REPEAT:1
DURATION:PT1M
END:VALARM
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20190902T123110Z
DTSTART;TZID=Asia/Shanghai:20200314T095000
DTEND;TZID=Asia/Shanghai:20200314T112500
RRULE:FREQ=WEEKLY;COUNT=12
SUMMARY:电子设计基础训练
LOCATION:

DESCRIPTION:电子设计基础训练 哈聪颖[1,2]周,哈聪颖[3-14]周,康  骊[1,2]周,康  骊[3-14]周 主南303 第3,4节
BEGIN:VALARM
TRIGGER:-PT60M
REPEAT:1
DURATION:PT1M
END:VALARM
END:VEVENT
roife commented

fixed in 884791d