Documentation ¶
Index ¶
- type Catch1688Service
- type SpiderService
- func (spider SpiderService) GetArticleDataAndAdd(body io.ReadCloser, ContentSubTypeName string)
- func (spider SpiderService) GetArticleQueryDataAndAdd(body io.ReadCloser, ContentSubTypeName string)
- func (spider SpiderService) ReadWeiXinArticle(url string) string
- func (spider SpiderService) StartSpider()
- func (spider SpiderService) WeixinQuerySogou(urls [][]string)
- func (spider SpiderService) WeixinSogou(urls []string, ContentSubTypeName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catch1688Service ¶
type Catch1688Service struct { dao.BaseDao Voucher VoucherService Goods GoodsService Organization OrganizationService ExpressTemplate ExpressTemplateService Admin AdminService }
func (*Catch1688Service) Catch ¶
func (service *Catch1688Service) Catch(CatchContent, Mark string, isGbk bool)
func (*Catch1688Service) Run ¶
func (service *Catch1688Service) Run()
func (*Catch1688Service) URLCatch ¶
func (service *Catch1688Service) URLCatch(URL string)
type SpiderService ¶
type SpiderService struct { dao.BaseDao File FileService Content ContentService Admin AdminService OID uint64 }
func (SpiderService) GetArticleDataAndAdd ¶
func (spider SpiderService) GetArticleDataAndAdd(body io.ReadCloser, ContentSubTypeName string)
func (SpiderService) GetArticleQueryDataAndAdd ¶
func (spider SpiderService) GetArticleQueryDataAndAdd(body io.ReadCloser, ContentSubTypeName string)
func (SpiderService) ReadWeiXinArticle ¶
func (spider SpiderService) ReadWeiXinArticle(url string) string
func (SpiderService) StartSpider ¶
func (spider SpiderService) StartSpider()
func (SpiderService) WeixinQuerySogou ¶
func (spider SpiderService) WeixinQuerySogou(urls [][]string)
func (SpiderService) WeixinSogou ¶
func (spider SpiderService) WeixinSogou(urls []string, ContentSubTypeName string)
Click to show internal directories.
Click to hide internal directories.