1
0
This commit is contained in:
Antonio 2023-04-20 14:24:04 +08:00
parent 31726a9f72
commit f0f9eb722c

View File

@ -20,6 +20,8 @@ var (
tls_client.WithClientProfile(tls_client.Chrome_110),
tls_client.WithNotFollowRedirects(),
tls_client.WithCookieJar(jar), // create cookieJar instance and pass it as argument
// Disable SSL verification
tls_client.WithInsecureSkipVerify(),
}
client, _ = tls_client.NewHttpClient(tls_client.NewNoopLogger(), options...)
// http_proxy = os.Getenv("http_proxy")