diff --git a/runners/update-courses.ts b/runners/update-courses.ts index b9438718..f018621a 100644 --- a/runners/update-courses.ts +++ b/runners/update-courses.ts @@ -6,7 +6,7 @@ const job = schedule.scheduleJob("0 0 * * *", async () => { try { console.log("syncing courses begin uwu"); const res = await fetch( - "http://localhost:8080/api/scrape-archived-courses?semester=11310", + "http://localhost:8080/api/scrape-archived-courses?semester=11320", { method: "GET", headers: { @@ -16,7 +16,7 @@ const job = schedule.scheduleJob("0 0 * * *", async () => { }, ); const res2 = await fetch( - "http://localhost:8080/api/scrape-syllabus?semester=11310", + "http://localhost:8080/api/scrape-syllabus?semester=11320", { method: "GET", headers: { @@ -26,7 +26,7 @@ const job = schedule.scheduleJob("0 0 * * *", async () => { }, ); const res3 = await fetch( - "http://localhost:8080/api/sync-algolia?semester=11310", + "http://localhost:8080/api/sync-algolia?semester=11320", { method: "GET", headers: { diff --git a/src/app/api/sync-courses/route.ts b/src/app/api/sync-courses/route.ts index 85f43819..918702b8 100644 --- a/src/app/api/sync-courses/route.ts +++ b/src/app/api/sync-courses/route.ts @@ -16,7 +16,7 @@ export const GET = async (request: NextRequest) => { }); } - const semester = "11310"; + const semester = "11320"; console.log("syncing courses uwu"); console.log("scraping archived courses"); diff --git a/src/const/semester.ts b/src/const/semester.ts index 8f992969..3757787b 100644 --- a/src/const/semester.ts +++ b/src/const/semester.ts @@ -76,6 +76,13 @@ export const semesterInfo = [ begins: new Date(2024, 9 - 1, 2), ends: new Date(2024, 12 - 1, 22), }, + { + id: "11320", + year: 2025, + semester: 2, + begins: new Date(2025, 2 - 1, 17), + ends: new Date(2025, 6 - 1, 8), + }, ]; export const currentSemester = semesterInfo.find((semester) => {