package main import ( "encoding/json" "fmt" "html" "io" "net/http" "net/url" "strings" ) func get_aplus(token string, link string, client http.Client) string { resp, err := client.Get(link) if err != nil { fmt.Println("Error performing GET request to initial link.") } defer resp.Body.Close() body, _ := io.ReadAll(resp.Body) var aplus Aplus json.Unmarshal(body, &aplus) return aplus.URL } func get_form_from_request_body(req_body []byte) string { body_str := string(req_body) form_start := strings.Index(body_str, "