diff --git a/src/campus_backend/req_client_funcs.rs b/src/campus_backend/req_client_funcs.rs index 986e5d8..dd45e11 100644 --- a/src/campus_backend/req_client_funcs.rs +++ b/src/campus_backend/req_client_funcs.rs @@ -120,7 +120,7 @@ pub fn extract_grades(html_text: String) -> Result> { .unwrap() .trim_start() .to_string(), - grade: table_fields.grade_el.text().next().unwrap().to_string(), + grade: sub_table_fields.grade_el.text().next().unwrap().to_string(), passed: sub_table_fields .passed_el .select(&IMG_SEL)