Commit 5820c47a authored by wangmingming's avatar wangmingming

11

parent 6f62055e
......@@ -92,7 +92,7 @@ func (c *Client) GetSessionCookies() map[string]string {
func (c *Client) GetText() string {
defer c.Response.Body.Close()
rb, _ := io.ReadAll(c.Response.Body)
rb, _ := io.ReadAll(http.DecompressBody(c.Response))
return string(rb)
}
......
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