Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ICrawler ¶
type ICrawler interface { LatestChapter(Novel) (string, string) AddNovels([]Novel) GetNovels() []Novel }
ICrawler - crawl novels
type PiaoTianCrawler ¶
type PiaoTianCrawler struct { Hostname string // contains filtered or unexported fields }
PiaoTianCrawler - Get latest update from https://www.ptwxz.com/
func (*PiaoTianCrawler) AddNovels ¶
func (c *PiaoTianCrawler) AddNovels(novels []Novel)
AddNovels add novels
func (*PiaoTianCrawler) GetNovels ¶
func (c *PiaoTianCrawler) GetNovels() []Novel
GetNovels get novels
func (*PiaoTianCrawler) LatestChapter ¶
func (c *PiaoTianCrawler) LatestChapter(novel Novel) (chapterName, chapterURL string)
LatestChapter - Get the latest chapter
Click to show internal directories.
Click to hide internal directories.