Commit 297457af authored by wangmingming's avatar wangmingming

11

parent d9129ab7
...@@ -40,7 +40,7 @@ func (c *Client) Start() error { ...@@ -40,7 +40,7 @@ func (c *Client) Start() error {
t := strings.Split(strings.TrimSpace(ck), "=") t := strings.Split(strings.TrimSpace(ck), "=")
cookies = append(cookies, &http.Cookie{ cookies = append(cookies, &http.Cookie{
Name: t[0], Name: t[0],
Value: strings.Join(t[1:], ""), Value: strings.ReplaceAll(strings.Join(t[1:], "="), ";", ""),
}) })
} }
c.Jar.SetCookies(uri, cookies) c.Jar.SetCookies(uri, cookies)
......
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