Documentation ¶
Overview ¶
/ 爬虫系统
Index ¶
- func OnError(f colly.ErrorCallback)
- func OnInit(config map[string]interface{}, option ...Option) (err error)
- func OnResponse(f colly.ResponseCallback)
- func OnScraped(f colly.ScrapedCallback)
- func Post(url string, requestData map[string]string) error
- func PostRaw(url string, requestData []byte) error
- func Visit(url string) error
- func Wait()
- type Colly
- func (this *Colly) OnError(f colly.ErrorCallback)
- func (this *Colly) OnResponse(f colly.ResponseCallback)
- func (this *Colly) OnScraped(f colly.ScrapedCallback)
- func (this *Colly) Post(url string, requestData map[string]string) error
- func (this *Colly) PostRaw(url string, requestData []byte) error
- func (this *Colly) Visit(url string) error
- func (this *Colly) Wait()
- type ISys
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnResponse ¶
func OnResponse(f colly.ResponseCallback)
Types ¶
type Colly ¶
type Colly struct {
// contains filtered or unexported fields
}
func (*Colly) OnResponse ¶
func (this *Colly) OnResponse(f colly.ResponseCallback)
type ISys ¶
type Option ¶
type Option func(*Options)
func SetDomainGlob ¶
func SetParallelism ¶
func SetUserAgent ¶
Click to show internal directories.
Click to hide internal directories.