Documentation ¶
Index ¶
- func FetchFor(urlIdx int, url string, chpx chan<- *t.ProxyServer, fspec t.FetcherSpec)
- type CNProxy
- func (f CNProxy) IsGBK() bool
- func (f CNProxy) ListSelector() []string
- func (f CNProxy) ProxyMode() types.ProxyMode
- func (f CNProxy) RefreshInterval() int
- func (f CNProxy) Retry() int
- func (f CNProxy) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
- func (f CNProxy) UID() string
- func (f CNProxy) Urls() []string
- type CoderBusy
- func (f CoderBusy) IsGBK() bool
- func (f CoderBusy) ListSelector() []string
- func (f CoderBusy) ProxyMode() types.ProxyMode
- func (f CoderBusy) RefreshInterval() int
- func (f CoderBusy) Retry() int
- func (f CoderBusy) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
- func (f CoderBusy) UID() string
- func (f CoderBusy) Urls() []string
- type CoolProxy
- type Data5u
- func (f Data5u) IsGBK() bool
- func (f Data5u) ListSelector() []string
- func (f Data5u) ProxyMode() types.ProxyMode
- func (f Data5u) RefreshInterval() int
- func (f Data5u) Retry() int
- func (f Data5u) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
- func (f Data5u) UID() string
- func (f Data5u) Urls() []string
- type FreeProxyCZ
- func (f FreeProxyCZ) IsGBK() bool
- func (f FreeProxyCZ) ListSelector() []string
- func (f FreeProxyCZ) ProxyMode() types.ProxyMode
- func (f FreeProxyCZ) RefreshInterval() int
- func (f FreeProxyCZ) Retry() int
- func (f FreeProxyCZ) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
- func (f FreeProxyCZ) UID() string
- func (f FreeProxyCZ) Urls() []string
- type FreeProxyList
- func (f FreeProxyList) IsGBK() bool
- func (f FreeProxyList) ListSelector() []string
- func (f FreeProxyList) ProxyMode() types.ProxyMode
- func (f FreeProxyList) RefreshInterval() int
- func (f FreeProxyList) Retry() int
- func (f FreeProxyList) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
- func (f FreeProxyList) UID() string
- func (f FreeProxyList) Urls() []string
- type GatherProxy
- func (f GatherProxy) Fetch(ctx context.Context, urlIdx int, url string) (ps []*types.ProxyServer, e error)
- func (f GatherProxy) Headless() bool
- func (f GatherProxy) HomePageTimeout() int
- func (f GatherProxy) ProxyMode() types.ProxyMode
- func (f GatherProxy) RefreshInterval() int
- func (f GatherProxy) Retry() int
- func (f GatherProxy) UID() string
- func (f GatherProxy) Urls() []string
- type GouBanJia
- func (f GouBanJia) IsGBK() bool
- func (f GouBanJia) ListSelector() []string
- func (f GouBanJia) ProxyMode() types.ProxyMode
- func (f GouBanJia) RefreshInterval() int
- func (f GouBanJia) Retry() int
- func (f GouBanJia) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
- func (f GouBanJia) UID() string
- func (f GouBanJia) Urls() []string
- type HideMyName
- func (f HideMyName) Fetch(ctx context.Context, urlIdx int, url string) (ps []*types.ProxyServer, e error)
- func (f HideMyName) Headless() bool
- func (f HideMyName) HomePageTimeout() int
- func (f HideMyName) ProxyMode() types.ProxyMode
- func (f HideMyName) RefreshInterval() int
- func (f HideMyName) Retry() int
- func (f HideMyName) UID() string
- func (f HideMyName) Urls() []string
- type HinkyDink
- func (f HinkyDink) IsGBK() bool
- func (f HinkyDink) ListSelector() []string
- func (f HinkyDink) ProxyMode() types.ProxyMode
- func (f HinkyDink) RefreshInterval() int
- func (f HinkyDink) Retry() int
- func (f HinkyDink) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
- func (f HinkyDink) UID() string
- func (f HinkyDink) Urls() []string
- type IP3366
- func (f IP3366) IsGBK() bool
- func (f IP3366) ListSelector() []string
- func (f IP3366) ProxyMode() types.ProxyMode
- func (f IP3366) RefreshInterval() int
- func (f IP3366) Retry() int
- func (f IP3366) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
- func (f IP3366) UID() string
- func (f IP3366) Urls() []string
- type KuaiDaiLi
- func (f KuaiDaiLi) IsGBK() bool
- func (f KuaiDaiLi) ListSelector() []string
- func (f KuaiDaiLi) ProxyMode() types.ProxyMode
- func (f KuaiDaiLi) RefreshInterval() int
- func (f KuaiDaiLi) Retry() int
- func (f KuaiDaiLi) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
- func (f KuaiDaiLi) UID() string
- func (f KuaiDaiLi) Urls() []string
- type ProxyDB
- func (f ProxyDB) Fetch(ctx context.Context, urlIdx int, url string) (ps []*types.ProxyServer, e error)
- func (f ProxyDB) Headless() bool
- func (f ProxyDB) HomePageTimeout() int
- func (f ProxyDB) ProxyMode() types.ProxyMode
- func (f ProxyDB) RefreshInterval() int
- func (f ProxyDB) Retry() int
- func (f ProxyDB) UID() string
- func (f ProxyDB) Urls() []string
- type ProxyFish
- type ProxyListOrg
- func (f ProxyListOrg) IsGBK() bool
- func (f ProxyListOrg) ListSelector() []string
- func (f ProxyListOrg) ProxyMode() types.ProxyMode
- func (f ProxyListOrg) RefreshInterval() int
- func (f ProxyListOrg) Retry() int
- func (f ProxyListOrg) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
- func (f ProxyListOrg) UID() string
- func (f ProxyListOrg) Urls() []string
- type ProxyListPlus
- func (f ProxyListPlus) IsGBK() bool
- func (f ProxyListPlus) ListSelector() []string
- func (f ProxyListPlus) ProxyMode() types.ProxyMode
- func (f ProxyListPlus) RefreshInterval() int
- func (f ProxyListPlus) Retry() int
- func (f ProxyListPlus) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
- func (f ProxyListPlus) UID() string
- func (f ProxyListPlus) Urls() []string
- type ProxyNova
- func (f ProxyNova) IsGBK() bool
- func (f ProxyNova) ListSelector() []string
- func (f ProxyNova) ProxyMode() types.ProxyMode
- func (f ProxyNova) RefreshInterval() int
- func (f ProxyNova) Retry() int
- func (f ProxyNova) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
- func (f ProxyNova) UID() string
- func (f ProxyNova) Urls() []string
- type SSLProxies
- func (f SSLProxies) IsGBK() bool
- func (f SSLProxies) ListSelector() []string
- func (f SSLProxies) ProxyMode() types.ProxyMode
- func (f SSLProxies) RefreshInterval() int
- func (f SSLProxies) Retry() int
- func (f SSLProxies) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
- func (f SSLProxies) UID() string
- func (f SSLProxies) Urls() []string
- type SocksProxy
- func (f SocksProxy) IsGBK() bool
- func (f SocksProxy) ListSelector() []string
- func (f SocksProxy) ProxyMode() types.ProxyMode
- func (f SocksProxy) RefreshInterval() int
- func (f SocksProxy) Retry() int
- func (f SocksProxy) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
- func (f SocksProxy) UID() string
- func (f SocksProxy) Urls() []string
- type SpysMe
- type SpysOne
- func (f SpysOne) Fetch(parent context.Context, urlIdx int, url string) (ps []*types.ProxyServer, e error)
- func (f SpysOne) Headless() bool
- func (f SpysOne) HomePageTimeout() int
- func (f SpysOne) ProxyMode() types.ProxyMode
- func (f SpysOne) RefreshInterval() int
- func (f SpysOne) Retry() int
- func (f SpysOne) UID() string
- func (f SpysOne) Urls() []string
- type Xroxy
- func (f Xroxy) IsGBK() bool
- func (f Xroxy) ListSelector() []string
- func (f Xroxy) ProxyMode() types.ProxyMode
- func (f Xroxy) RefreshInterval() int
- func (f Xroxy) Retry() int
- func (f Xroxy) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
- func (f Xroxy) UID() string
- func (f Xroxy) Urls() []string
- type Z66IP
- func (f Z66IP) IsGBK() bool
- func (f Z66IP) ListSelector() []string
- func (f Z66IP) ProxyMode() types.ProxyMode
- func (f Z66IP) RefreshInterval() int
- func (f Z66IP) Retry() int
- func (f Z66IP) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
- func (f Z66IP) UID() string
- func (f Z66IP) Urls() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchFor ¶
func FetchFor(urlIdx int, url string, chpx chan<- *t.ProxyServer, fspec t.FetcherSpec)
Types ¶
type CNProxy ¶
type CNProxy struct {
// contains filtered or unexported fields
}
CNProxy fetches proxy server from http://cn-proxy.com/
func (CNProxy) ListSelector ¶
ListSelector returns the jQuery selector for searching the proxy server list/table.
func (CNProxy) ProxyMode ¶
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (CNProxy) RefreshInterval ¶
RefreshInterval determines how often the list should be refreshed, in minutes.
type CoderBusy ¶
type CoderBusy struct {
// contains filtered or unexported fields
}
CoderBusy fetches proxy server from https://proxy.coderbusy.com
func (CoderBusy) ListSelector ¶
ListSelector returns the jQuery selector for searching the proxy server list/table.
func (CoderBusy) ProxyMode ¶
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (CoderBusy) RefreshInterval ¶
RefreshInterval determines how often the list should be refreshed, in minutes.
func (CoderBusy) ScanItem ¶
ScanItem process each item found in the table determined by ListSelector().
type CoolProxy ¶
type CoolProxy struct {
// contains filtered or unexported fields
}
CoolProxy fetches proxy server from https://www.cool-proxy.net/
func (CoolProxy) ParseJSON ¶
func (f CoolProxy) ParseJSON(payload []byte) (ps []*types.ProxyServer)
ParseJSON parses JSON payload and extracts proxy information
func (CoolProxy) ProxyMode ¶
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (CoolProxy) RefreshInterval ¶
RefreshInterval determines how often the list should be refreshed, in minutes.
type Data5u ¶
type Data5u struct {
// contains filtered or unexported fields
}
Data5u fetches proxy server from http://www.data5u.com
func (Data5u) ListSelector ¶
ListSelector returns the jQuery selector for searching the proxy server list/table.
func (Data5u) ProxyMode ¶
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (Data5u) RefreshInterval ¶
RefreshInterval determines how often the list should be refreshed, in minutes.
type FreeProxyCZ ¶
type FreeProxyCZ struct {
// contains filtered or unexported fields
}
FreeProxyCZ fetches proxy server from http://free-proxy.cz
func (FreeProxyCZ) IsGBK ¶
func (f FreeProxyCZ) IsGBK() bool
IsGBK returns wheter the web page is GBK encoded.
func (FreeProxyCZ) ListSelector ¶
func (f FreeProxyCZ) ListSelector() []string
ListSelector returns the jQuery selector for searching the proxy server list/table.
func (FreeProxyCZ) ProxyMode ¶
func (f FreeProxyCZ) ProxyMode() types.ProxyMode
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (FreeProxyCZ) RefreshInterval ¶
func (f FreeProxyCZ) RefreshInterval() int
RefreshInterval determines how often the list should be refreshed, in minutes.
func (FreeProxyCZ) ScanItem ¶
func (f FreeProxyCZ) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
ScanItem process each item found in the table determined by ListSelector().
func (FreeProxyCZ) UID ¶
func (f FreeProxyCZ) UID() string
UID returns the unique identifier for this spec.
func (FreeProxyCZ) Urls ¶
func (f FreeProxyCZ) Urls() []string
Urls return the server urls that provide the free proxy server lists.
type FreeProxyList ¶
type FreeProxyList struct {
// contains filtered or unexported fields
}
FreeProxyList fetches proxy server from https://free-proxy-list.net/
func (FreeProxyList) IsGBK ¶
func (f FreeProxyList) IsGBK() bool
IsGBK returns wheter the web page is GBK encoded.
func (FreeProxyList) ListSelector ¶
func (f FreeProxyList) ListSelector() []string
ListSelector returns the jQuery selector for searching the proxy server list/table.
func (FreeProxyList) ProxyMode ¶
func (f FreeProxyList) ProxyMode() types.ProxyMode
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (FreeProxyList) RefreshInterval ¶
func (f FreeProxyList) RefreshInterval() int
RefreshInterval determines how often the list should be refreshed, in minutes.
func (FreeProxyList) ScanItem ¶
func (f FreeProxyList) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
ScanItem process each item found in the table determined by ListSelector().
func (FreeProxyList) UID ¶
func (f FreeProxyList) UID() string
UID returns the unique identifier for this spec.
func (FreeProxyList) Urls ¶
func (f FreeProxyList) Urls() []string
Urls return the server urls that provide the free proxy server lists.
type GatherProxy ¶
type GatherProxy struct {
// contains filtered or unexported fields
}
GatherProxy fetches proxy server from http://www.gatherproxy.com
func (GatherProxy) Fetch ¶
func (f GatherProxy) Fetch(ctx context.Context, urlIdx int, url string) (ps []*types.ProxyServer, e error)
Fetch the proxy info
func (GatherProxy) HomePageTimeout ¶
func (f GatherProxy) HomePageTimeout() int
HomePageTimeout specifies how many seconds to wait before home page navigation is timed out
func (GatherProxy) ProxyMode ¶
func (f GatherProxy) ProxyMode() types.ProxyMode
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (GatherProxy) RefreshInterval ¶
func (f GatherProxy) RefreshInterval() int
RefreshInterval determines how often the list should be refreshed, in minutes.
func (GatherProxy) UID ¶
func (f GatherProxy) UID() string
UID returns the unique identifier for this spec.
func (GatherProxy) Urls ¶
func (f GatherProxy) Urls() []string
Urls return the server urls that provide the free proxy server lists.
type GouBanJia ¶
type GouBanJia struct {
// contains filtered or unexported fields
}
GouBanJia fetches proxy server from http://www.goubanjia.com/
func (GouBanJia) ListSelector ¶
ListSelector returns the jQuery selector for searching the proxy server list/table.
func (GouBanJia) ProxyMode ¶
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (GouBanJia) RefreshInterval ¶
RefreshInterval determines how often the list should be refreshed, in minutes.
func (GouBanJia) ScanItem ¶
ScanItem process each item found in the table determined by ListSelector().
type HideMyName ¶
type HideMyName struct {
// contains filtered or unexported fields
}
HideMyName fetches proxy info from this web
func (HideMyName) Fetch ¶
func (f HideMyName) Fetch(ctx context.Context, urlIdx int, url string) (ps []*types.ProxyServer, e error)
Fetch the proxy info
func (HideMyName) HomePageTimeout ¶
func (f HideMyName) HomePageTimeout() int
func (HideMyName) ProxyMode ¶
func (f HideMyName) ProxyMode() types.ProxyMode
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (HideMyName) RefreshInterval ¶
func (f HideMyName) RefreshInterval() int
RefreshInterval determines how often the list should be refreshed, in minutes.
func (HideMyName) Retry ¶
func (f HideMyName) Retry() int
func (HideMyName) UID ¶
func (f HideMyName) UID() string
UID returns the unique identifier for this spec.
func (HideMyName) Urls ¶
func (f HideMyName) Urls() []string
Urls return the server urls that provide the free proxy server lists.
type HinkyDink ¶
type HinkyDink struct {
// contains filtered or unexported fields
}
HinkyDink fetches proxy server from http://www.mrhinkydink.com
func (HinkyDink) ListSelector ¶
ListSelector returns the jQuery selector for searching the proxy server list/table.
func (HinkyDink) ProxyMode ¶
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (HinkyDink) RefreshInterval ¶
RefreshInterval determines how often the list should be refreshed, in minutes.
func (HinkyDink) ScanItem ¶
ScanItem process each item found in the table determined by ListSelector().
type IP3366 ¶
type IP3366 struct {
// contains filtered or unexported fields
}
IP3366 fetches proxy server from http://www.ip3366.net
func (IP3366) ListSelector ¶
ListSelector returns the jQuery selector for searching the proxy server list/table.
func (IP3366) ProxyMode ¶
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (IP3366) RefreshInterval ¶
RefreshInterval determines how often the list should be refreshed, in minutes.
type KuaiDaiLi ¶
type KuaiDaiLi struct {
// contains filtered or unexported fields
}
KuaiDaiLi fetches proxy server from https://www.kuaidaili.com
func (KuaiDaiLi) ListSelector ¶
ListSelector returns the jQuery selector for searching the proxy server list/table.
func (KuaiDaiLi) ProxyMode ¶
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (KuaiDaiLi) RefreshInterval ¶
RefreshInterval determines how often the list should be refreshed, in minutes.
func (KuaiDaiLi) ScanItem ¶
ScanItem process each item found in the table determined by ListSelector().
type ProxyDB ¶
type ProxyDB struct {
// contains filtered or unexported fields
}
ProxyDB fetches proxy server from http://proxydb.net/
func (ProxyDB) Fetch ¶
func (f ProxyDB) Fetch(ctx context.Context, urlIdx int, url string) (ps []*types.ProxyServer, e error)
Fetch the proxy info.
func (ProxyDB) HomePageTimeout ¶
func (f ProxyDB) HomePageTimeout() int
HomePageTimeout specifies how many seconds to wait before home page navigation is timed out
func (ProxyDB) ProxyMode ¶
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (ProxyDB) RefreshInterval ¶
RefreshInterval determines how often the list should be refreshed, in minutes.
type ProxyFish ¶
type ProxyFish struct {
// contains filtered or unexported fields
}
ProxyFish fetches proxy info from proxyfish.com
func (ProxyFish) ParseJSON ¶
func (p ProxyFish) ParseJSON(payload []byte) (ps []*types.ProxyServer)
ParseJSON parses JSON payload and extracts proxy information
func (ProxyFish) ProxyMode ¶
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (ProxyFish) RefreshInterval ¶
RefreshInterval determines how often the list should be refreshed, in minutes.
type ProxyListOrg ¶
type ProxyListOrg struct {
// contains filtered or unexported fields
}
ProxyListOrg fetches proxy server from https://proxy-list.org
func (ProxyListOrg) IsGBK ¶
func (f ProxyListOrg) IsGBK() bool
IsGBK returns wheter the web page is GBK encoded.
func (ProxyListOrg) ListSelector ¶
func (f ProxyListOrg) ListSelector() []string
ListSelector returns the jQuery selector for searching the proxy server list/table.
func (ProxyListOrg) ProxyMode ¶
func (f ProxyListOrg) ProxyMode() types.ProxyMode
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (ProxyListOrg) RefreshInterval ¶
func (f ProxyListOrg) RefreshInterval() int
RefreshInterval determines how often the list should be refreshed, in minutes.
func (ProxyListOrg) ScanItem ¶
func (f ProxyListOrg) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
ScanItem process each item found in the table determined by ListSelector().
func (ProxyListOrg) UID ¶
func (f ProxyListOrg) UID() string
UID returns the unique identifier for this spec.
func (ProxyListOrg) Urls ¶
func (f ProxyListOrg) Urls() []string
Urls return the server urls that provide the free proxy server lists.
type ProxyListPlus ¶
type ProxyListPlus struct {
// contains filtered or unexported fields
}
ProxyListPlus fetches proxy server from https://list.proxylistplus.com
func (ProxyListPlus) IsGBK ¶
func (f ProxyListPlus) IsGBK() bool
IsGBK returns wheter the web page is GBK encoded.
func (ProxyListPlus) ListSelector ¶
func (f ProxyListPlus) ListSelector() []string
ListSelector returns the jQuery selector for searching the proxy server list/table.
func (ProxyListPlus) ProxyMode ¶
func (f ProxyListPlus) ProxyMode() types.ProxyMode
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (ProxyListPlus) RefreshInterval ¶
func (f ProxyListPlus) RefreshInterval() int
RefreshInterval determines how often the list should be refreshed, in minutes.
func (ProxyListPlus) ScanItem ¶
func (f ProxyListPlus) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
ScanItem process each item found in the table determined by ListSelector().
func (ProxyListPlus) UID ¶
func (f ProxyListPlus) UID() string
UID returns the unique identifier for this spec.
func (ProxyListPlus) Urls ¶
func (f ProxyListPlus) Urls() []string
Urls return the server urls that provide the free proxy server lists.
type ProxyNova ¶
type ProxyNova struct {
// contains filtered or unexported fields
}
ProxyNova fetches proxy server from https://www.proxynova.com/
func (ProxyNova) ListSelector ¶
ListSelector returns the jQuery selector for searching the proxy server list/table.
func (ProxyNova) ProxyMode ¶
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (ProxyNova) RefreshInterval ¶
RefreshInterval determines how often the list should be refreshed, in minutes.
func (ProxyNova) ScanItem ¶
ScanItem process each item found in the table determined by ListSelector().
type SSLProxies ¶
type SSLProxies struct {
// contains filtered or unexported fields
}
SSLProxies fetches proxy server from https://www.sslproxies.org/
func (SSLProxies) IsGBK ¶
func (f SSLProxies) IsGBK() bool
IsGBK returns wheter the web page is GBK encoded.
func (SSLProxies) ListSelector ¶
func (f SSLProxies) ListSelector() []string
ListSelector returns the jQuery selector for searching the proxy server list/table.
func (SSLProxies) ProxyMode ¶
func (f SSLProxies) ProxyMode() types.ProxyMode
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (SSLProxies) RefreshInterval ¶
func (f SSLProxies) RefreshInterval() int
RefreshInterval determines how often the list should be refreshed, in minutes.
func (SSLProxies) ScanItem ¶
func (f SSLProxies) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
ScanItem process each item found in the table determined by ListSelector().
func (SSLProxies) UID ¶
func (f SSLProxies) UID() string
UID returns the unique identifier for this spec.
func (SSLProxies) Urls ¶
func (f SSLProxies) Urls() []string
Urls return the server urls that provide the free proxy server lists.
type SocksProxy ¶
type SocksProxy struct {
// contains filtered or unexported fields
}
SocksProxy fetches proxy server from https://www.socks-proxy.net
func (SocksProxy) IsGBK ¶
func (f SocksProxy) IsGBK() bool
IsGBK returns wheter the web page is GBK encoded.
func (SocksProxy) ListSelector ¶
func (f SocksProxy) ListSelector() []string
ListSelector returns the jQuery selector for searching the proxy server list/table.
func (SocksProxy) ProxyMode ¶
func (f SocksProxy) ProxyMode() types.ProxyMode
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (SocksProxy) RefreshInterval ¶
func (f SocksProxy) RefreshInterval() int
RefreshInterval determines how often the list should be refreshed, in minutes.
func (SocksProxy) ScanItem ¶
func (f SocksProxy) ScanItem(i, urlIdx int, s *goquery.Selection) (ps *types.ProxyServer)
ScanItem process each item found in the table determined by ListSelector().
func (SocksProxy) UID ¶
func (f SocksProxy) UID() string
UID returns the unique identifier for this spec.
func (SocksProxy) Urls ¶
func (f SocksProxy) Urls() []string
Urls return the server urls that provide the free proxy server lists.
type SpysMe ¶
type SpysMe struct {
// contains filtered or unexported fields
}
SpysMe fetches proxy info from http://spys.me/
func (SpysMe) ParsePlainText ¶
func (p SpysMe) ParsePlainText(payload []byte) (ps []*types.ProxyServer)
ParsePlainText parses plain text payload and extracts proxy information
func (SpysMe) ProxyMode ¶
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (SpysMe) RefreshInterval ¶
RefreshInterval determines how often the list should be refreshed, in minutes.
type SpysOne ¶
type SpysOne struct {
URLs []string
}
SpysOne fetches proxy server from http://spys.one
func (SpysOne) Fetch ¶
func (f SpysOne) Fetch(parent context.Context, urlIdx int, url string) (ps []*types.ProxyServer, e error)
Fetch the proxy info.
func (SpysOne) HomePageTimeout ¶
func (SpysOne) ProxyMode ¶
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (SpysOne) RefreshInterval ¶
RefreshInterval determines how often the list should be refreshed, in minutes.
type Xroxy ¶
type Xroxy struct {
// contains filtered or unexported fields
}
Xroxy fetches proxy server from https://www.xroxy.com
func (Xroxy) ListSelector ¶
ListSelector returns the jQuery selector for searching the proxy server list/table.
func (Xroxy) ProxyMode ¶
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (Xroxy) RefreshInterval ¶
RefreshInterval determines how often the list should be refreshed, in minutes.
type Z66IP ¶
type Z66IP struct {
// contains filtered or unexported fields
}
Z66IP fetches proxy server from http://www.66ip.cn
func (Z66IP) ListSelector ¶
ListSelector returns the jQuery selector for searching the proxy server list/table.
func (Z66IP) ProxyMode ¶
ProxyMode returns whether the fetcher needs a master proxy server to access the free proxy list provider.
func (Z66IP) RefreshInterval ¶
RefreshInterval determines how often the list should be refreshed, in minutes.
Source Files ¶
- SpysMe.go
- SpysOne.go
- cn_proxy.go
- coderbusy.go
- coolproxy.go
- data5u.go
- free_proxy_cz.go
- free_proxy_list.go
- gather_proxy.go
- goubanjia.go
- hidemy_name.go
- hinkydink.go
- ip3366.go
- kuaidaili.go
- main.go
- proxy_list_org.go
- proxy_list_plus.go
- proxydb.go
- proxyfish.go
- proxynova.go
- socks_proxy.go
- sslproxies.go
- xroxy.go
- z66ip.go