From 9ba185b247e410c680a3f4ab88da3a786929954d Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 18 Sep 2023 20:54:48 +0200 Subject: [PATCH] oui --- src/timetable.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/timetable.rs b/src/timetable.rs index 157211c..73dc8d0 100644 --- a/src/timetable.rs +++ b/src/timetable.rs @@ -35,7 +35,10 @@ pub async fn timetable( // Find the timetable let raw_timetable = document.select(&sel_table).next().unwrap(); - // Find days + /* We are finding size of days in the timetable + * so we can increment it when we will cross the timetable */ + + // Find days size let days_size: Vec<_> = raw_timetable .select(&sel_thead) .next() @@ -62,9 +65,10 @@ pub async fn timetable( }) .collect(); - println!("{:#?}", days); + /* We are now iterating over all the 15-minute intervals to find courses */ + // TODO - (vec![], (0, vec![])) + todo!() } /// Get timetable webpage