Skip to content

Commit

Permalink
fix: actually add cf_clearance to cookie jar
Browse files Browse the repository at this point in the history
  • Loading branch information
lcian committed May 12, 2024
1 parent 07efa22 commit ec225ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (c *Client) GetCloudflareCookieFromUser() (err error) {
Path: "/",
Domain: "codeforces.com",
}
url, _ := url.Parse("codeforces.com")
url, _ := url.Parse("https://codeforces.com")
c.client.Jar.SetCookies(url, append(c.client.Jar.Cookies(url), &cf_clearance_cookie))
return nil
}
Expand Down

0 comments on commit ec225ec

Please sign in to comment.