colly: github.com/gocolly/colly/proxy Index | Files

package proxy

import "github.com/gocolly/colly/proxy"

Index

Package Files

proxy.go

func RoundRobinProxySwitcher Uses

func RoundRobinProxySwitcher(ProxyURLs ...string) (colly.ProxyFunc, error)

RoundRobinProxySwitcher creates a proxy switcher function which rotates ProxyURLs on every request. The proxy type is determined by the URL scheme. "http" and "socks5" are supported. If the scheme is empty, "http" is assumed.

Package proxy imports 4 packages (graph). Updated 2018-03-25. Refresh now. Tools for package owners.