Skip to content

Commit

Permalink
fix 403
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio committed May 25, 2023
1 parent 3cf0e4d commit 2fc731f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/OpenAiAuth.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func NewAuthenticator(emailAddress, password, proxy string) *Authenticator {
jar := tls_client.NewCookieJar()
options := []tls_client.HttpClientOption{
tls_client.WithTimeoutSeconds(20),
tls_client.WithClientProfile(tls_client.Chrome_110),
tls_client.WithClientProfile(tls_client.Firefox_110),
tls_client.WithNotFollowRedirects(),
tls_client.WithCookieJar(jar), // create cookieJar instance and pass it as argument
// Proxy
Expand Down

0 comments on commit 2fc731f

Please sign in to comment.