diff --git a/scrape/parse/v3.js b/scrape/parse/v3.js index 54ae0bb..784cb37 100644 --- a/scrape/parse/v3.js +++ b/scrape/parse/v3.js @@ -182,6 +182,7 @@ function parseLessonCell(cell) { return { text, backgroundColor: cell.fill.fgColor.argb === undefined ? undefined : `#${cell.fill.fgColor.argb}`, + textColor: cell.font?.color?.argb === undefined ? undefined : `#${cell.font.color.argb}`, willBeSpecified: cell.fill.fgColor.argb === "FFFFFF00" ? true : undefined, }; } catch { @@ -298,4 +299,4 @@ function formatNowTime() { ); } -// parseV3("db/current.xlsx") +parseV3("db/current.xlsx")