From e28dc923074ff7445d23cb97a04233f6192a69be Mon Sep 17 00:00:00 2001 From: Juan Roig Date: Tue, 14 Nov 2023 22:42:25 -0500 Subject: Add flags, update README --- aplus.go | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'aplus.go') diff --git a/aplus.go b/aplus.go index b9e6a13..a8d4daf 100644 --- a/aplus.go +++ b/aplus.go @@ -12,6 +12,9 @@ import ( func submit_code(course_code int, attendance_code string) { cur_body := launch_aplus(course_code) + + fmt.Printf("%s", cur_body) + current_url := fmt.Sprintf("%s/student/", base_aplus_link) // the links to submit the code for a class is under the dayPanel div daypanel_start := strings.Index(cur_body, "
") -- cgit v1.2.3