proxy

package
v0.0.0-...-73d8c38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IPCh chan *model.IP

IPCh 使用通道作为本爬虫框架的代理ip池,可全局调用.

Functions

func CheckDBIP

func CheckDBIP()

CheckDBIP 检查数据库中的有效ip

func CheckIP

func CheckIP(ips []*model.IP)

CheckIP 检查ip代理池的有效ip,

func Count

func Count() int64

Count .

func Data5u

func Data5u() (result []*model.IP)

Data5u is not work now Data5u get ip from data5u.com

func Feiyi

func Feiyi() (result []*model.IP)

Feiyi get ip from feiyiproxy.com

func GBJ

func GBJ() (result []*model.IP)

GBJ get ip from goubanjia.com

func Get

func Get() []*model.IP

Get 爬取所有的代理ip

func IP181

func IP181() (result []*model.IP)

IP181 get ip from ip181.com

func IP66

func IP66() (result []*model.IP)

IP66 get ip from 66ip.cn

func IP89

func IP89() (result []*model.IP)

IP89 get ip from www.89ip.cn

func Init

func Init()

Init .

func KDL

func KDL() (result []*model.IP)

KDL get ip from kuaidaili.com

func PLP

func PLP() (result []*model.IP)

PLP get ip from proxylistplus.com

func XDL

func XDL() (result []*model.IP)

XDL get ip from xdaili.cn

func Xici

func Xici() (result []*model.IP)

Xici get ip from xicidaili.com

func YDL

func YDL() (result []*model.IP)

YDL get ip from youdaili.net

Types

type Result

type Result struct {
	Position string `json:"position"`
	Port     string `json:"port"`
	IP       string `json:"ip"`
}

Result struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL