Documentation ¶
Index ¶
- func GetListPagesNum(href string, out chan<- string) error
- type Links
- func (l *Links) Close()
- func (l *Links) CrawlerCatLinks(url string, out chan<- string) error
- func (l *Links) CrawlerCatListFromNode(url string, out chan<- []string) error
- func (l *Links) CrawlerDetailPageFromNode(urls []string, out chan<- interface{})
- func (l *Links) GetSeedURLS(u string) ([]string, error)
- func (l *Links) LinksList(urls []string)
- func (l *Links) ListURLS(urls []string, out chan<- string)
- func (l *Links) Storages(in <-chan interface{}, done chan<- struct{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetListPagesNum ¶
Types ¶
type Links ¶
Links export Links to main Cralwer
func (*Links) CrawlerCatLinks ¶
CrawlerCatLinks crawler a cat inclue subcat page
func (*Links) CrawlerCatListFromNode ¶
CrawlerCatListFromNode page
func (*Links) CrawlerDetailPageFromNode ¶
func (*Links) GetSeedURLS ¶
GetSeedURLS get init seeds.
func (*Links) LinksList ¶
LinksList crawler list links from root seed []string array.
urls root seeds. out chan put real per ic url into out channal
Click to show internal directories.
Click to hide internal directories.