crawler

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CrawlUrlBase = "https://ip.jiangxianli.com/"
View Source
const TotalIPCountRegStr = `laypage\.render\(\{ elem: 'paginate'\, count: \"(\d+)\"`

Variables

This section is empty.

Functions

This section is empty.

Types

type JXLCrawler

type JXLCrawler struct {
	// contains filtered or unexported fields
}

func NewJXLCrawler

func NewJXLCrawler(page int) *JXLCrawler

NewJXLCrawler create crawler instance

func (*JXLCrawler) Close

func (c *JXLCrawler) Close()

func (*JXLCrawler) Crawl

func (c *JXLCrawler) Crawl() error

func (*JXLCrawler) GetProxies

func (c *JXLCrawler) GetProxies() <-chan *internal.HttpProxyIP

Jump to

Keyboard shortcuts

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