|
@@ -5,6 +5,7 @@ import (
|
|
|
"fmt"
|
|
|
"io"
|
|
|
"io/ioutil"
|
|
|
+ "log"
|
|
|
"net/http"
|
|
|
"net/http/cookiejar"
|
|
|
"net/url"
|
|
@@ -158,6 +159,7 @@ func (s *sussBi) RequestLogin(r *ghttp.Request) error {
|
|
|
Expires: time.Now().AddDate(0, 0, 7),
|
|
|
}
|
|
|
r.Request.AddCookie(c)
|
|
|
+ log.Println("BITOKEN====", md5Val)
|
|
|
//http.SetCookie(r.Response.ResponseWriter, c)
|
|
|
} else {
|
|
|
if strings.HasPrefix(r.URL.Path, "/succbi") {
|