feat: added scrapedAt property (#149)

* feat: added scrapedAt property

* fix: type-check
This commit is contained in:
Sriram Hariharan
2024-03-12 00:57:00 -05:00
committed by GitHub
parent 44af9e16e4
commit 8e181b3010
11 changed files with 45 additions and 1 deletions

View File

@@ -92,6 +92,7 @@ export class CourseCatalogScraper {
instructors: this.getInstructors(row) as Instructor[],
description: this.getDescription(document),
semester: this.getSemester(),
scrapedAt: Date.now(),
});
courses.push({
element: row,