Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
List []*WebCrawler.WebElement // 家庭、办公地址的相关元素,其中text字段被识别为地址
}
func (*Address) Find ¶
func (e *Address) Find(els []*WebCrawler.WebElement) []*WebCrawler.WebElement
func (*Address) GetList ¶
func (e *Address) GetList() []*WebCrawler.WebElement
type ChineseName ¶
type ChineseName struct {
List []*WebCrawler.WebElement // 家庭、办公地址的相关元素,其中text字段被识别为地址
}
func (*ChineseName) Find ¶
func (e *ChineseName) Find(els []*WebCrawler.WebElement) []*WebCrawler.WebElement
func (*ChineseName) GetList ¶
func (e *ChineseName) GetList() []*WebCrawler.WebElement
type CompanyName ¶
type CompanyName struct {
List []*WebCrawler.WebElement // 家庭、办公地址的相关元素,其中text字段被识别为地址
}
func (*CompanyName) Find ¶
func (e *CompanyName) Find(els []*WebCrawler.WebElement) []*WebCrawler.WebElement
func (*CompanyName) FindTexts ¶
func (e *CompanyName) FindTexts(text string) []string
func (*CompanyName) GetList ¶
func (e *CompanyName) GetList() []*WebCrawler.WebElement
type EMail ¶
type EMail struct {
List []*WebCrawler.WebElement // 电子邮箱的相关元素,其中text字段被识别为电子邮箱
}
func (*EMail) Find ¶
func (e *EMail) Find(els []*WebCrawler.WebElement) []*WebCrawler.WebElement
func (*EMail) GetList ¶
func (e *EMail) GetList() []*WebCrawler.WebElement
type ElTag ¶
type ElTag struct { List []*WebCrawler.WebElement // 电子邮箱的相关元素,其中text字段被识别为电子邮箱 Param string }
func (*ElTag) Find ¶
func (e *ElTag) Find(els []*WebCrawler.WebElement) []*WebCrawler.WebElement
func (*ElTag) GetList ¶
func (e *ElTag) GetList() []*WebCrawler.WebElement
type Mobile ¶
type Mobile struct {
List []*WebCrawler.WebElement // 手机号码的相关元素,其中text字段被识别为手机号码
}
func (*Mobile) Find ¶
func (e *Mobile) Find(els []*WebCrawler.WebElement) []*WebCrawler.WebElement
func (*Mobile) GetList ¶
func (e *Mobile) GetList() []*WebCrawler.WebElement
type Text ¶
type Text struct { Param string // 输入参数 List []*WebCrawler.WebElement // 手机号码的相关元素,其中text字段被识别为手机号码 }
func (*Text) Find ¶
func (e *Text) Find(els []*WebCrawler.WebElement) []*WebCrawler.WebElement
func (*Text) GetList ¶
func (e *Text) GetList() []*WebCrawler.WebElement
type WebChat ¶
type WebChat struct {
List []*WebCrawler.WebElement // 微信二维码的图片链接,其中text字段被识别为二维码的URL
}
func (*WebChat) Decode ¶
func (e *WebChat) Decode(host string) []*WebCrawler.WebElement
func (*WebChat) Find ¶
func (e *WebChat) Find(els []*WebCrawler.WebElement) []*WebCrawler.WebElement
func (*WebChat) GetList ¶
func (e *WebChat) GetList() []*WebCrawler.WebElement
Click to show internal directories.
Click to hide internal directories.