seclerp / Schedule

:date: Unfinished attempt to make alternative stable back-end for NURE Schedule

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parse teacher id and group id instead of names in `parseTeachers`

seclerp opened this issue · comments

For now, parseTeachers returns TeachersPerGroup list, where TeachersPerGroup contains Teacher and Group properties as strings.

We need to parse id from <a> attribute (or plain text) in order to fix CIST's naming problem (teacher names in different places can be different for same teacher) and reduce complex logic of joining teacher's and group's names on their id in identities table.

GroupId can't be used instead of GroupName, because some of the groups don't have id in parse time