🚑 Fix crash while extracting untis timestamp

This commit is contained in:
2023-08-25 01:18:07 +02:00
parent 108dbc98e8
commit f18454c49a

View File

@ -36,10 +36,8 @@ export function parseSubstitutionPlan(html) {
infos.week = title[3];
// Get the export timestamp
const rawTimestamp = $(tableElement)
.parent()
.parent()
.siblings(".mon_head")
const rawTimestamp = $(".mon_head")
.first()
.find("td")
.text()
.split("Stand: ")[1]