Package that provide http.Client that will use a http proxy.
biri.ProxyStart()
proxy := biri.GetClient()
resp, _ := proxy.Client.Get(url)
biri.Done()
You can readd a proxy after a successful request with:
proxy.Readd()
or you can ban it if the request did not worked:
proxy.Ban()
Here the basic default configuration:
var Config = &config{
proxyWebpage: "https://free-proxy-list.net/",
PingServer: "https://www.google.com/",
TickMinuteDuration: 3,
numberAvailableProxies: 30,
Verbose: 1,
Timeout: 10,
AnonymousLevel: []string{"elite proxy", "transparent"},
}