Commit 5236c26d authored by vicotor's avatar vicotor

unuse cookie

parent 9147792d
......@@ -38,6 +38,7 @@ func GetLoginAccount() ([]ScraperWithTimer, error) {
fmt.Println("user cookies ", v.Username, v.Email)
if false { // cookie is not valid, need login.
if v.Cookies != nil {
//var cookies []*http.Cookie
......@@ -55,6 +56,7 @@ func GetLoginAccount() ([]ScraperWithTimer, error) {
})
continue
}
}
} else {
needLogin = true
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment