Documentation ¶
Index ¶
- func BookContReplace(html string) string
- func CheckStrIsLink(urlStr string) error
- func ContentBuildHTML(content, title string) string
- func ConvertStrEncode(inStr, inCharset, outCharset string) string
- func DecodeURL(str string) (string, error)
- func EncodeURL(str string) string
- func FindContentForHTML(htmlStr, find string) (string, error)
- func FindContentHTML(htmlStr, find string) (string, error)
- func FindString(pattern, value, key string) string
- func GetActicleByContent(html string) (article *html2article.Article, err error)
- func GetActicleByHTML(html string) (article *html2article.Article, err error)
- func GetActicleForHTML(html string) (article *html2article.Article, err error)
- func GetCatalogHash(list Catalog) string
- func GetHTML(urlStr, find string) (htmlStr string, err error)
- func GetHTMLByChromedp(urlStr string) (htmlStr string, err error)
- func GetHTMLOrCache(urlStr, find string) (string, error)
- func GetHash(s string) string
- func GetListHash(list List) string
- func GetMd5String(s string) string
- func GetPathLevel(wxto string) (level int32)
- func GetSectionByContent(content string) (sec []string)
- func GetTag(urlStr string) string
- func GetTagMore(urlStr string) string
- func GetURLDrive(url string) (drive, key string)
- func GetURLStringParam(urlStr, key string) (string, error)
- func ImagesBuildHTML(images []string) string
- func InArr(str string, arr []string) bool
- func InSliceIface(v interface{}, sl []interface{}) bool
- func Intersection(arr1 []string, arr2 []string) []string
- func Jaccard(arr1 []string, arr2 []string) float64
- func JaccardMateGetURL(url, demo1, demo2, to1 string) (string, bool)
- func JaccardMateGetURLMore(url, demo1, demo2, to1 string) (string, bool)
- func MarkDownFormatContent(content string) string
- func Nonion(arr1 []string, arr2 []string) (ret []string)
- func ReplaceImageServe(body string) (string, error)
- func SaveHTML(urlStr, saveName string) (n int64, err error)
- func Score2Level(x int) int
- func SelectString(pattern, value string) map[string]string
- func SimilarText(first, second string, percent *float64) int
- func SliceShuffle(slice []interface{}) []interface{}
- func SliceUnique(slice []interface{}) (uniqueslice []interface{})
- func Substr(str string, start int, end int) string
- func Union(arr1 []string, arr2 []string) (ret []string)
- type Aimeizi5Reader
- func (r Aimeizi5Reader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r Aimeizi5Reader) GetCategories(urlStr string) (list Catalog, err error)
- func (r Aimeizi5Reader) GetInfo(urlStr string) (ret Content, err error)
- func (r Aimeizi5Reader) GetList(urlStr string) (list Catalog, err error)
- func (r Aimeizi5Reader) Search(keyword string) (list Catalog, err error)
- type ArticleReader
- type BaiduReader
- func (r BaiduReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r BaiduReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r BaiduReader) GetInfo(urlStr string) (ret Content, err error)
- func (r BaiduReader) GetList(urlStr string) (list Catalog, err error)
- func (r BaiduReader) Search(keyword string) (list Catalog, err error)
- type BiqugeinfoReader
- func (r BiqugeinfoReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r BiqugeinfoReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r BiqugeinfoReader) GetInfo(urlStr string) (ret Content, err error)
- func (r BiqugeinfoReader) GetList(urlStr string) (list Catalog, err error)
- func (r BiqugeinfoReader) Search(keyword string) (list Catalog, err error)
- type BiquyunReader
- func (r BiquyunReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r BiquyunReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r BiquyunReader) GetInfo(urlStr string) (ret Content, err error)
- func (r BiquyunReader) GetList(urlStr string) (list Catalog, err error)
- func (r BiquyunReader) Search(keyword string) (list Catalog, err error)
- type BlogReader
- type BookReader
- type BooktxtReader
- func (r BooktxtReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r BooktxtReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r BooktxtReader) GetInfo(urlStr string) (ret Content, err error)
- func (r BooktxtReader) GetList(urlStr string) (list Catalog, err error)
- func (r BooktxtReader) Search(keyword string) (list Catalog, err error)
- type BooktxtnetReader
- func (r BooktxtnetReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r BooktxtnetReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r BooktxtnetReader) GetInfo(urlStr string) (ret Content, err error)
- func (r BooktxtnetReader) GetList(urlStr string) (list Catalog, err error)
- func (r BooktxtnetReader) Search(keyword string) (list Catalog, err error)
- type BxksReader
- func (r BxksReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r BxksReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r BxksReader) GetInfo(urlStr string) (ret Content, err error)
- func (r BxksReader) GetList(urlStr string) (list Catalog, err error)
- func (r BxksReader) Search(keyword string) (list Catalog, err error)
- type BxwxReader
- func (r BxwxReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r BxwxReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r BxwxReader) GetInfo(urlStr string) (ret Content, err error)
- func (r BxwxReader) GetList(urlStr string) (list Catalog, err error)
- func (r BxwxReader) Search(keyword string) (list Catalog, err error)
- type Card
- type Catalog
- type Content
- type CustomReader
- type DefaultGuide
- type DefaultReader
- type DemoItem
- type FetchContent
- type FumanReader
- func (r FumanReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r FumanReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r FumanReader) GetInfo(urlStr string) (ret Content, err error)
- func (r FumanReader) GetList(urlStr string) (list Catalog, err error)
- func (r FumanReader) Search(keyword string) (list Catalog, err error)
- type GithubReader
- type Guide
- type HaimaobaReader
- func (r HaimaobaReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r HaimaobaReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r HaimaobaReader) GetInfo(urlStr string) (ret Content, err error)
- func (r HaimaobaReader) GetList(urlStr string) (list Catalog, err error)
- func (r HaimaobaReader) Search(keyword string) (list Catalog, err error)
- type HanmankuReader
- func (r HanmankuReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r HanmankuReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r HanmankuReader) GetInfo(urlStr string) (ret Content, err error)
- func (r HanmankuReader) GetList(urlStr string) (list Catalog, err error)
- func (r HanmankuReader) Search(keyword string) (list Catalog, err error)
- type HanmanwoReader
- func (r HanmanwoReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r HanmanwoReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r HanmanwoReader) GetInfo(urlStr string) (ret Content, err error)
- func (r HanmanwoReader) GetList(urlStr string) (list Catalog, err error)
- func (r HanmanwoReader) Search(keyword string) (list Catalog, err error)
- type HongxiuReader
- func (r HongxiuReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r HongxiuReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r HongxiuReader) GetChaptersLinksByHTML(bookID string) (links []Link, err error)
- func (r HongxiuReader) GetInfo(urlStr string) (ret Content, err error)
- func (r HongxiuReader) GetList(urlStr string) (list Catalog, err error)
- func (r HongxiuReader) Search(keyword string) (list Catalog, err error)
- type Item
- type JxReader
- func (r JxReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r JxReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r JxReader) GetInfo(urlStr string) (ret Content, err error)
- func (r JxReader) GetList(urlStr string) (list Catalog, err error)
- func (r JxReader) Search(keyword string) (list Catalog, err error)
- type KanmeiziReader
- func (r KanmeiziReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r KanmeiziReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r KanmeiziReader) GetInfo(urlStr string) (ret Content, err error)
- func (r KanmeiziReader) GetList(urlStr string) (list Catalog, err error)
- func (r KanmeiziReader) Search(keyword string) (list Catalog, err error)
- type LaosijixsReader
- func (r LaosijixsReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r LaosijixsReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r LaosijixsReader) GetInfo(urlStr string) (ret Content, err error)
- func (r LaosijixsReader) GetInfoBodyText(urlStr string) (html, body string, err error)
- func (r LaosijixsReader) GetInfox(urlStr string) (ret Content, err error)
- func (r LaosijixsReader) GetList(urlStr string) (list Catalog, err error)
- func (r LaosijixsReader) Search(keyword string) (list Catalog, err error)
- type LearnkuReader
- type Link
- func Cleaning(links []Link) (newlinks []Link)
- func CleaningFrontLinkRepeat(links []Link) (newlinks []Link)
- func CleaningFrontRepeat(links []Link) (newlinks []Link)
- func GetLinkByHTML(urlStr, html string) (links []Link, err error)
- func GetLinks(g *goquery.Document, link *url.URL) (links []Link)
- func GetNextLink(links []Link) Link
- func GetPreviousLink(links []Link) Link
- type Links
- type List
- type MLuoqiuReader
- func (r MLuoqiuReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r MLuoqiuReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r MLuoqiuReader) GetInfo(urlStr string) (ret Content, err error)
- func (r MLuoqiuReader) GetList(urlStr string) (list Catalog, err error)
- func (r MLuoqiuReader) Search(keyword string) (list Catalog, err error)
- type ManhwaReader
- func (r ManhwaReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r ManhwaReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r ManhwaReader) GetInfo(urlStr string) (ret Content, err error)
- func (r ManhwaReader) GetList(urlStr string) (list Catalog, err error)
- func (r ManhwaReader) Search(keyword string) (list Catalog, err error)
- type ManwuyuReader
- func (r ManwuyuReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r ManwuyuReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r ManwuyuReader) GetInfo(urlStr string) (ret Content, err error)
- func (r ManwuyuReader) GetList(urlStr string) (list Catalog, err error)
- func (r ManwuyuReader) Search(keyword string) (list Catalog, err error)
- type McmsscReader
- func (r McmsscReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r McmsscReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r McmsscReader) GetInfo(urlStr string) (ret Content, err error)
- func (r McmsscReader) GetList(urlStr string) (list Catalog, err error)
- func (r McmsscReader) Search(keyword string) (list Catalog, err error)
- type Paoshu8Reader
- func (r Paoshu8Reader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r Paoshu8Reader) GetCategories(urlStr string) (list Catalog, err error)
- func (r Paoshu8Reader) GetInfo(urlStr string) (ret Content, err error)
- func (r Paoshu8Reader) GetList(urlStr string) (list Catalog, err error)
- func (r Paoshu8Reader) Search(keyword string) (list Catalog, err error)
- type QidianReader
- func (r QidianReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r QidianReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r QidianReader) GetChaptersLinksByJSON(bookID string) (links []Link, err error)
- func (r QidianReader) GetInfo(urlStr string) (ret Content, err error)
- func (r QidianReader) GetList(urlStr string) (list Catalog, err error)
- func (r QidianReader) Search(keyword string) (list Catalog, err error)
- type Qkshu6Reader
- func (r Qkshu6Reader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r Qkshu6Reader) GetCategories(urlStr string) (list Catalog, err error)
- func (r Qkshu6Reader) GetInfo(urlStr string) (ret Content, err error)
- func (r Qkshu6Reader) GetList(urlStr string) (list Catalog, err error)
- func (r Qkshu6Reader) Search(keyword string) (list Catalog, err error)
- type QuReader
- func (r QuReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r QuReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r QuReader) GetInfo(urlStr string) (ret Content, err error)
- func (r QuReader) GetList(urlStr string) (list Catalog, err error)
- func (r QuReader) Search(keyword string) (list Catalog, err error)
- type QueryInfoReader
- type QueryListReader
- type QueryReader
- type R2hmReader
- func (r R2hmReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r R2hmReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r R2hmReader) GetInfo(urlStr string) (ret Content, err error)
- func (r R2hmReader) GetList(urlStr string) (list Catalog, err error)
- func (r R2hmReader) Search(keyword string) (list Catalog, err error)
- type Reader
- type RssReader
- type SeventeenKReader
- func (r SeventeenKReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r SeventeenKReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r SeventeenKReader) GetInfo(urlStr string) (ret Content, err error)
- func (r SeventeenKReader) GetList(urlStr string) (list Catalog, err error)
- func (r SeventeenKReader) Search(keyword string) (list Catalog, err error)
- type ShugeReader
- func (r ShugeReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r ShugeReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r ShugeReader) GetInfo(urlStr string) (ret Content, err error)
- func (r ShugeReader) GetList(urlStr string) (list Catalog, err error)
- func (r ShugeReader) Search(keyword string) (list Catalog, err error)
- type Soe8Reader
- func (r Soe8Reader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r Soe8Reader) GetCategories(urlStr string) (list Catalog, err error)
- func (r Soe8Reader) GetInfo(urlStr string) (ret Content, err error)
- func (r Soe8Reader) GetList(urlStr string) (list Catalog, err error)
- func (r Soe8Reader) Search(keyword string) (list Catalog, err error)
- type SsmhReader
- func (r SsmhReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r SsmhReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r SsmhReader) GetInfo(urlStr string) (ret Content, err error)
- func (r SsmhReader) GetList(urlStr string) (list Catalog, err error)
- func (r SsmhReader) Search(keyword string) (list Catalog, err error)
- type UxiaoshuoReader
- func (r UxiaoshuoReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r UxiaoshuoReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r UxiaoshuoReader) GetInfo(urlStr string) (ret Content, err error)
- func (r UxiaoshuoReader) GetList(urlStr string) (list Catalog, err error)
- func (r UxiaoshuoReader) Search(keyword string) (list Catalog, err error)
- type WeijiaoshouReader
- func (r WeijiaoshouReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r WeijiaoshouReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r WeijiaoshouReader) GetInfo(urlStr string) (ret Content, err error)
- func (r WeijiaoshouReader) GetList(urlStr string) (list Catalog, err error)
- func (r WeijiaoshouReader) Search(keyword string) (list Catalog, err error)
- type XbiqugeReader
- func (r XbiqugeReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r XbiqugeReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r XbiqugeReader) GetInfo(urlStr string) (ret Content, err error)
- func (r XbiqugeReader) GetList(urlStr string) (list Catalog, err error)
- func (r XbiqugeReader) Search(keyword string) (list Catalog, err error)
- type Xin18Reader
- func (r Xin18Reader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r Xin18Reader) GetCategories(urlStr string) (list Catalog, err error)
- func (r Xin18Reader) GetInfo(urlStr string) (ret Content, err error)
- func (r Xin18Reader) GetList(urlStr string) (list Catalog, err error)
- func (r Xin18Reader) Search(keyword string) (list Catalog, err error)
- type Xs280Reader
- func (r Xs280Reader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r Xs280Reader) GetCategories(urlStr string) (list Catalog, err error)
- func (r Xs280Reader) GetInfo(urlStr string) (ret Content, err error)
- func (r Xs280Reader) GetList(urlStr string) (list Catalog, err error)
- func (r Xs280Reader) Search(keyword string) (list Catalog, err error)
- type Xs7878Reader
- func (r Xs7878Reader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r Xs7878Reader) GetCategories(urlStr string) (list Catalog, err error)
- func (r Xs7878Reader) GetInfo(urlStr string) (ret Content, err error)
- func (r Xs7878Reader) GetList(urlStr string) (list Catalog, err error)
- func (r Xs7878Reader) Search(keyword string) (list Catalog, err error)
- type XxsyReader
- func (r XxsyReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r XxsyReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r XxsyReader) GetChaptersLinksByHTML(bookID string) (links []Link, err error)
- func (r XxsyReader) GetInfo(urlStr string) (ret Content, err error)
- func (r XxsyReader) GetList(urlStr string) (list Catalog, err error)
- func (r XxsyReader) Search(keyword string) (list Catalog, err error)
- type ZonghengReader
- func (r ZonghengReader) GetCatalog(urlStr string) (list Catalog, err error)
- func (r ZonghengReader) GetCategories(urlStr string) (list Catalog, err error)
- func (r ZonghengReader) GetInfo(urlStr string) (ret Content, err error)
- func (r ZonghengReader) GetList(urlStr string) (list Catalog, err error)
- func (r ZonghengReader) Search(keyword string) (list Catalog, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContentBuildHTML ¶
ContentBuildHTML 内容合成 html
func FindContentForHTML ¶
FindContentForHTML 从html字符串中获取内容 通过 .class 或 #id 或 name
func FindContentHTML ¶
FindContentHTML 获得纯正文html
func GetActicleByContent ¶
func GetActicleByContent(html string) (article *html2article.Article, err error)
GetActicleByContent 由Html返回*html2article.Article
func GetActicleByHTML ¶
func GetActicleByHTML(html string) (article *html2article.Article, err error)
GetActicleByHTML 由Html返回*html2article.Article
func GetActicleForHTML ¶
func GetActicleForHTML(html string) (article *html2article.Article, err error)
GetActicleForHTML 由Html返回 *html2article.Article (纯原文)
func GetHTMLByChromedp ¶
GetHTMLByChromedp 通过运行浏览器代理的方式获取被渲染后的网站内容
func GetHTMLOrCache ¶
GetHTMLOrCache 获取html链接地址中的内容(进行本地化数据缓存)
func GetSectionByContent ¶
GetSectionByContent 通过正文获取段落拆分
func GetURLStringParam ¶
GetURLStringParam 从url字符串中获取指定问号后的参数 urlStr := "/pages/catalog?drive=xbiquge&url=aHR0cDovL3d3dy54YmlxdWdlLmxhLzE1LzE1MDIxLw%3D%3D" 返回 aHR0cDovL3d3dy54YmlxdWdlLmxhLzE1LzE1MDIxLw==
func InSliceIface ¶
func InSliceIface(v interface{}, sl []interface{}) bool
InSliceIface checks given interface in interface slice.
func JaccardMateGetURL ¶
JaccardMateGetURL 杰卡德(Jaccard)相似系数 匹配出目标url * 快速获取固定结构动态链接 url 为要验证参考的链接地址 demo1 有效的学习链接地址1,与url具有相同结构 demo2 有效的学习链接地址2,与url具有相同结构 to1 有效果的目标链接地址1, 将url变量替换到to1结构中 (to1为空时,保持原有结构)
todo t.Fatal(JaccardMateGetURL(`http://book.zongheng.com/book/book/658887.html`, `http://book.zongheng.com/book/769150.html`, `http://book.zongheng.com/book/316562.html`, `http://book.zongheng.com/showchapter/769150.html`)) 相同值不同位置时抽风了。。
func JaccardMateGetURLMore ¶
JaccardMateGetURLMore 杰卡德(Jaccard)相似系数 匹配出目标url * 快速获取固定结构动态链接 url 为要验证参考的链接地址 demo1 有效的学习链接地址1,与url具有相同结构 demo2 有效的学习链接地址2,与url具有相同结构 to1 有效果的目标链接地址1, 将url变量替换到to1结构中 (to1为空时,保持原有结构)
todo t.Fatal(JaccardMateGetURL(`http://book.zongheng.com/book/book/658887.html`, `http://book.zongheng.com/book/769150.html`, `http://book.zongheng.com/book/316562.html`, `http://book.zongheng.com/showchapter/769150.html`)) 相同值不同位置时抽风了。。
func MarkDownFormatContent ¶
MarkDownFormatContent 通过markdown语法格式化内容
func ReplaceImageServe ¶
ReplaceImageServe 替换图片服务地址(由服务器转抓取)
func SimilarText ¶
SimilarText 函数来自 http://www.syyong.com/Go/Go-implements-the-string-similarity-calculation-function-Levenshtein-and-SimilarText.html similar_text()
func SliceShuffle ¶
func SliceShuffle(slice []interface{}) []interface{}
SliceShuffle shuffles a slice. 重组
func SliceUnique ¶
func SliceUnique(slice []interface{}) (uniqueslice []interface{})
SliceUnique cleans repeated values in slice. 去重
Types ¶
type Aimeizi5Reader ¶
type Aimeizi5Reader struct { }
Aimeizi5Reader 顶点小说 (盗版小说网站)
func (Aimeizi5Reader) GetCatalog ¶
func (r Aimeizi5Reader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (Aimeizi5Reader) GetCategories ¶
func (r Aimeizi5Reader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (Aimeizi5Reader) GetInfo ¶
func (r Aimeizi5Reader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type ArticleReader ¶
type ArticleReader struct { }
ArticleReader 顶点小说 (盗版小说网站)
func (ArticleReader) GetCatalog ¶
func (r ArticleReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
type BaiduReader ¶
type BaiduReader struct { }
BaiduReader U小说阅读网 (盗版小说网站)
func (BaiduReader) GetCatalog ¶
func (r BaiduReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (BaiduReader) GetCategories ¶
func (r BaiduReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (BaiduReader) GetInfo ¶
func (r BaiduReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type BiqugeinfoReader ¶
type BiqugeinfoReader struct { }
BiqugeinfoReader 顶点小说 (盗版小说网站)
func (BiqugeinfoReader) GetCatalog ¶
func (r BiqugeinfoReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (BiqugeinfoReader) GetCategories ¶
func (r BiqugeinfoReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (BiqugeinfoReader) GetInfo ¶
func (r BiqugeinfoReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type BiquyunReader ¶
type BiquyunReader struct { }
BiquyunReader U小说阅读网 (盗版小说网站)
func (BiquyunReader) GetCatalog ¶
func (r BiquyunReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (BiquyunReader) GetCategories ¶
func (r BiquyunReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (BiquyunReader) GetInfo ¶
func (r BiquyunReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type BlogReader ¶
type BlogReader struct { }
BlogReader 常规博客(使用) html2article算法
func (BlogReader) GetCatalog ¶
func (r BlogReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
type BookReader ¶
type BookReader struct { }
BookReader 默认详细页匹配器
func (BookReader) GetCatalog ¶
func (r BookReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取列表
type BooktxtReader ¶
type BooktxtReader struct { }
BooktxtReader 顶点小说 (盗版小说网站)
func (BooktxtReader) GetCatalog ¶
func (r BooktxtReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (BooktxtReader) GetCategories ¶
func (r BooktxtReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (BooktxtReader) GetInfo ¶
func (r BooktxtReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type BooktxtnetReader ¶
type BooktxtnetReader struct { }
BooktxtnetReader 顶点小说 (盗版小说网站)
func (BooktxtnetReader) GetCatalog ¶
func (r BooktxtnetReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (BooktxtnetReader) GetCategories ¶
func (r BooktxtnetReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (BooktxtnetReader) GetInfo ¶
func (r BooktxtnetReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type BxksReader ¶
type BxksReader struct { }
BxksReader www.jininggeyin.com (盗版小说网站)
func (BxksReader) GetCatalog ¶
func (r BxksReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (BxksReader) GetCategories ¶
func (r BxksReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (BxksReader) GetInfo ¶
func (r BxksReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type BxwxReader ¶
type BxwxReader struct { }
BxwxReader 笔下文学 (盗版小说网站)
func (BxwxReader) GetCatalog ¶
func (r BxwxReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (BxwxReader) GetCategories ¶
func (r BxwxReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (BxwxReader) GetInfo ¶
func (r BxwxReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type Card ¶
type Card struct { Title string `json:"title"` // 标题 WxTo string `json:"wxto"` // 小程序跳转到目标页 Intro string `json:"intro"` //介绍 Type string `json:"type"` // card展示形式 media card text image images link Cover string `json:"cover"` // 封面图片 Images []string `json:"images"` // 图片组效果时图片列表 From string `json:"from"` AppID string `json:"appid"` }
Card 使用卡片代替链接
func LinksToCards ¶
LinksToCards 链接组转换成卡片组
type Catalog ¶
type Catalog struct { Title string `json:"title"` Cards []Card //`json:"links"` SourceURL string `json:"source_url"` // 数据抓取时,统一声明数据来源 Hash string `json:"hash"` // 当前目录 Hash Previous Link `json:"previous"` // 如果有上一页 Next Link `json:"next"` // 如果有下一页 SearchSupport bool `json:"search_support"` // 搜索支持(实现第三方站内搜索) }
* * base.go 放一些基础数据结构类,用于制定内外数据结构
Catalog 第三方资源目录(用户可任意订阅此目录)
type Content ¶
type Content struct { Title string `json:"title"` // 内容标题 SourceURL string `json:"source_url"` // 数据来源 Author string `json:"author"` PubAt string `json:"pub_at"` //发布时间 Previous Link `json:"previous"` // 上一章 Next Link `json:"next"` // 下一章 Contents []string `json:"contents"` // text正文 Content string `json:"content"` //新闻(图文)类内容正文 Images string `json:"images"` SRC string `json:"src"` Typw string `json:"type"` }
Content reader 返回正文
type CustomReader ¶
type CustomReader struct { }
CustomReader 自定义阅读器
func (CustomReader) GetCatalog ¶
func (r CustomReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取目录
type DefaultGuide ¶
type DefaultGuide struct { }
DefaultGuide 向导
func (DefaultGuide) GetCategories ¶
func (r DefaultGuide) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
type DefaultReader ¶
type DefaultReader struct { }
DefaultReader 默认阅读器
func (DefaultReader) GetCatalog ¶
func (r DefaultReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取列表
type DemoItem ¶
type DemoItem struct { Title string `json:"title"` URL string `json:"url"` Category string `json:"category"` }
DemoItem 示例详细
type FetchContent ¶
type FetchContent struct { Title string `json:"title"` Content string `json:"content"` PubAt string `json:"pub_at"` SourceURL string `json:"source_url"` // 数据抓取时,统一声明数据来源 }
FetchContent 正文
func GetContent ¶
func GetContent(urlStr string) (cont FetchContent, err error)
GetContent 读url中的正文 解释返回 markdown 格式正文
func GetHTMLContent ¶
func GetHTMLContent(urlStr, find string) (cont FetchContent, err error)
GetHTMLContent 获取html链接地址中的链接
type FumanReader ¶
type FumanReader struct { }
FumanReader 腐漫漫画 (盗版漫画网站)
func (FumanReader) GetCatalog ¶
func (r FumanReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (FumanReader) GetCategories ¶
func (r FumanReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (FumanReader) GetInfo ¶
func (r FumanReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type GithubReader ¶
type GithubReader struct { }
GithubReader github博客(使用) html2article算法
func (GithubReader) GetCatalog ¶
func (r GithubReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
type Guide ¶
type Guide interface { // 第三方平台分类列表(多是我们自行定义) GetCategories(string) (Catalog, error) // 获取第三方目录列表 GetList(string) (Catalog, error) // 实现第三方平台搜索接口 (允许在分类设置不支持搜索,允许功能不存在,但是不能不实现该接口) Search(string) (Catalog, error) }
Guide 第三方平台资源引导 *
type HaimaobaReader ¶
type HaimaobaReader struct { }
HaimaobaReader 顶点小说 (盗版小说网站)
func (HaimaobaReader) GetCatalog ¶
func (r HaimaobaReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (HaimaobaReader) GetCategories ¶
func (r HaimaobaReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (HaimaobaReader) GetInfo ¶
func (r HaimaobaReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type HanmankuReader ¶
type HanmankuReader struct { }
HanmankuReader 绅士漫画网 (盗版漫画网站)
func (HanmankuReader) GetCatalog ¶
func (r HanmankuReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (HanmankuReader) GetCategories ¶
func (r HanmankuReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (HanmankuReader) GetInfo ¶
func (r HanmankuReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type HanmanwoReader ¶
type HanmanwoReader struct { }
HanmanwoReader 绅士漫画网 (盗版漫画网站)
func (HanmanwoReader) GetCatalog ¶
func (r HanmanwoReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (HanmanwoReader) GetCategories ¶
func (r HanmanwoReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (HanmanwoReader) GetInfo ¶
func (r HanmanwoReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type HongxiuReader ¶
type HongxiuReader struct { }
HongxiuReader 红袖添香
func (HongxiuReader) GetCatalog ¶
func (r HongxiuReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (HongxiuReader) GetCategories ¶
func (r HongxiuReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有自定义分类(写死)
func (HongxiuReader) GetChaptersLinksByHTML ¶
func (r HongxiuReader) GetChaptersLinksByHTML(bookID string) (links []Link, err error)
GetChaptersLinksByHTML 获取章节链接列表
func (HongxiuReader) GetInfo ¶
func (r HongxiuReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取章节正文内容
type Item ¶
type Item struct { Title string `json:"title"` WxTo string `json:"wxto"` Intro string `json:"intro"` Type string `json:"type"` }
Item 小程序授受参数明细
type JxReader ¶
type JxReader struct { }
JxReader 笔趣阁qula (盗版小说网站)
func (JxReader) GetCatalog ¶
GetCatalog 获取章节列表
func (JxReader) GetCategories ¶
GetCategories 获取所有分类
type KanmeiziReader ¶
type KanmeiziReader struct { }
KanmeiziReader 顶点小说 (盗版小说网站)
func (KanmeiziReader) GetCatalog ¶
func (r KanmeiziReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (KanmeiziReader) GetCategories ¶
func (r KanmeiziReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (KanmeiziReader) GetInfo ¶
func (r KanmeiziReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type LaosijixsReader ¶
type LaosijixsReader struct { }
LaosijixsReader 顶点小说 (盗版小说网站)
func (LaosijixsReader) GetCatalog ¶
func (r LaosijixsReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (LaosijixsReader) GetCategories ¶
func (r LaosijixsReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (LaosijixsReader) GetInfo ¶
func (r LaosijixsReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
func (LaosijixsReader) GetInfoBodyText ¶
func (r LaosijixsReader) GetInfoBodyText(urlStr string) (html, body string, err error)
GetInfoBodyText 获取详细内容
func (LaosijixsReader) GetInfox ¶
func (r LaosijixsReader) GetInfox(urlStr string) (ret Content, err error)
GetInfox 获取详细内容
type LearnkuReader ¶
type LearnkuReader struct { }
LearnkuReader 常规博客(使用) html2article算法
func (LearnkuReader) GetCatalog ¶
func (r LearnkuReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
type Link ¶
type Link struct { // Basic Title string `json:"title"` URL string `json:"url"` WxTo string `json:"wxto"` // 小程序跳转到目标页 }
Link 链接
func CleaningFrontLinkRepeat ¶
CleaningFrontLinkRepeat 清洗前面的数据(相同标题地址出来两次用后面的)
func CleaningFrontRepeat ¶
CleaningFrontRepeat 清洗前面的数据(相同标题地址出来两次用后面的)
func GetLinkByHTML ¶
GetLinkByHTML 获取网页内容所有链接
type List ¶
type List struct { // Basic Title string `json:"title"` Links []Link //`json:"links"` SourceURL string `json:"source_url"` // 数据抓取时,统一声明数据来源 Hash string `json:"hash"` Previous Link `json:"previous"` Next Link `json:"next"` }
List 列表数据
func GetHTMLList ¶
GetHTMLList 获取指定URL指定元素里面的URL(所有)
type MLuoqiuReader ¶
type MLuoqiuReader struct { }
MLuoqiuReader 落秋中文网手机版 (盗版小说网站)
func (MLuoqiuReader) GetCatalog ¶
func (r MLuoqiuReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (MLuoqiuReader) GetCategories ¶
func (r MLuoqiuReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (MLuoqiuReader) GetInfo ¶
func (r MLuoqiuReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type ManhwaReader ¶
type ManhwaReader struct { }
ManhwaReader 顶点小说 (盗版小说网站)
func (ManhwaReader) GetCatalog ¶
func (r ManhwaReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (ManhwaReader) GetCategories ¶
func (r ManhwaReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (ManhwaReader) GetInfo ¶
func (r ManhwaReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type ManwuyuReader ¶
type ManwuyuReader struct { }
ManwuyuReader 顶点小说 (盗版小说网站)
func (ManwuyuReader) GetCatalog ¶
func (r ManwuyuReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (ManwuyuReader) GetCategories ¶
func (r ManwuyuReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (ManwuyuReader) GetInfo ¶
func (r ManwuyuReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type McmsscReader ¶
type McmsscReader struct { }
McmsscReader www.mcmssc.com (盗版小说网站)
func (McmsscReader) GetCatalog ¶
func (r McmsscReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (McmsscReader) GetCategories ¶
func (r McmsscReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (McmsscReader) GetInfo ¶
func (r McmsscReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type Paoshu8Reader ¶
type Paoshu8Reader struct { }
Paoshu8Reader 顶点小说 (盗版小说网站)
func (Paoshu8Reader) GetCatalog ¶
func (r Paoshu8Reader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (Paoshu8Reader) GetCategories ¶
func (r Paoshu8Reader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (Paoshu8Reader) GetInfo ¶
func (r Paoshu8Reader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type QidianReader ¶
type QidianReader struct { }
QidianReader 纵横小说网
func (QidianReader) GetCatalog ¶
func (r QidianReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (QidianReader) GetCategories ¶
func (r QidianReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有自定义分类(写死)
func (QidianReader) GetChaptersLinksByJSON ¶
func (r QidianReader) GetChaptersLinksByJSON(bookID string) (links []Link, err error)
GetChaptersLinksByJSON 获取章节链接列表
func (QidianReader) GetInfo ¶
func (r QidianReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取章节正文内容
type Qkshu6Reader ¶
type Qkshu6Reader struct { }
Qkshu6Reader 去看书 (盗版小说网站)
func (Qkshu6Reader) GetCatalog ¶
func (r Qkshu6Reader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (Qkshu6Reader) GetCategories ¶
func (r Qkshu6Reader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (Qkshu6Reader) GetInfo ¶
func (r Qkshu6Reader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type QuReader ¶
type QuReader struct { }
QuReader 笔趣阁qula (盗版小说网站)
func (QuReader) GetCatalog ¶
GetCatalog 获取章节列表
func (QuReader) GetCategories ¶
GetCategories 获取所有分类
type QueryReader ¶
type QueryReader struct { Body string Loop string ClearRepeat bool MatchingURL []string Reference []string Next bool Previous bool }
QueryReader JQ风格匹配器(返回News)
type R2hmReader ¶
type R2hmReader struct { }
R2hmReader 顶点小说 (盗版小说网站)
func (R2hmReader) GetCatalog ¶
func (r R2hmReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (R2hmReader) GetCategories ¶
func (r R2hmReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (R2hmReader) GetInfo ¶
func (r R2hmReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type Reader ¶
type Reader interface { // 获取目录 GetCatalog(string) (Catalog, error) // 获取详情 GetInfo(string) (Content, error) }
Reader 目录资源阅读器 *输出第三方平台资源
type RssReader ¶
type RssReader struct { }
RssReader Rss 订阅工具
func (RssReader) GetCatalog ¶
GetCatalog 获取章节列表
type SeventeenKReader ¶
type SeventeenKReader struct { }
SeventeenKReader 纵横小说网
func (SeventeenKReader) GetCatalog ¶
func (r SeventeenKReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (SeventeenKReader) GetCategories ¶
func (r SeventeenKReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (SeventeenKReader) GetInfo ¶
func (r SeventeenKReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type ShugeReader ¶
type ShugeReader struct { }
ShugeReader U小说阅读网 (盗版小说网站)
func (ShugeReader) GetCatalog ¶
func (r ShugeReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (ShugeReader) GetCategories ¶
func (r ShugeReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (ShugeReader) GetInfo ¶
func (r ShugeReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type Soe8Reader ¶
type Soe8Reader struct { }
Soe8Reader U小说阅读网 (盗版小说网站)
func (Soe8Reader) GetCatalog ¶
func (r Soe8Reader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (Soe8Reader) GetCategories ¶
func (r Soe8Reader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (Soe8Reader) GetInfo ¶
func (r Soe8Reader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type SsmhReader ¶
type SsmhReader struct { }
SsmhReader 绅士漫画网 (盗版漫画网站)
func (SsmhReader) GetCatalog ¶
func (r SsmhReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (SsmhReader) GetCategories ¶
func (r SsmhReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (SsmhReader) GetInfo ¶
func (r SsmhReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type UxiaoshuoReader ¶
type UxiaoshuoReader struct { }
UxiaoshuoReader U小说阅读网 (盗版小说网站)
func (UxiaoshuoReader) GetCatalog ¶
func (r UxiaoshuoReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (UxiaoshuoReader) GetCategories ¶
func (r UxiaoshuoReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (UxiaoshuoReader) GetInfo ¶
func (r UxiaoshuoReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type WeijiaoshouReader ¶
type WeijiaoshouReader struct { }
WeijiaoshouReader 顶点小说 (盗版小说网站)
func (WeijiaoshouReader) GetCatalog ¶
func (r WeijiaoshouReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (WeijiaoshouReader) GetCategories ¶
func (r WeijiaoshouReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (WeijiaoshouReader) GetInfo ¶
func (r WeijiaoshouReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type XbiqugeReader ¶
type XbiqugeReader struct { }
XbiqugeReader U小说阅读网 (盗版小说网站)
func (XbiqugeReader) GetCatalog ¶
func (r XbiqugeReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (XbiqugeReader) GetCategories ¶
func (r XbiqugeReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (XbiqugeReader) GetInfo ¶
func (r XbiqugeReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type Xin18Reader ¶
type Xin18Reader struct { }
Xin18Reader www.jininggeyin.com (盗版小说网站)
func (Xin18Reader) GetCatalog ¶
func (r Xin18Reader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (Xin18Reader) GetCategories ¶
func (r Xin18Reader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (Xin18Reader) GetInfo ¶
func (r Xin18Reader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type Xs280Reader ¶
type Xs280Reader struct { }
Xs280Reader www.280xs.com (盗版顶点小说网站)
func (Xs280Reader) GetCatalog ¶
func (r Xs280Reader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (Xs280Reader) GetCategories ¶
func (r Xs280Reader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (Xs280Reader) GetInfo ¶
func (r Xs280Reader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type Xs7878Reader ¶
type Xs7878Reader struct { }
Xs7878Reader 7878小说 (盗版小说网站)
func (Xs7878Reader) GetCatalog ¶
func (r Xs7878Reader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (Xs7878Reader) GetCategories ¶
func (r Xs7878Reader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (Xs7878Reader) GetInfo ¶
func (r Xs7878Reader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
type XxsyReader ¶
type XxsyReader struct { }
XxsyReader 纵横小说网
func (XxsyReader) GetCatalog ¶
func (r XxsyReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (XxsyReader) GetCategories ¶
func (r XxsyReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有自定义分类(写死)
func (XxsyReader) GetChaptersLinksByHTML ¶
func (r XxsyReader) GetChaptersLinksByHTML(bookID string) (links []Link, err error)
GetChaptersLinksByHTML 获取章节链接列表
func (XxsyReader) GetInfo ¶
func (r XxsyReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取章节正文内容
type ZonghengReader ¶
type ZonghengReader struct { }
ZonghengReader 纵横小说网
func (ZonghengReader) GetCatalog ¶
func (r ZonghengReader) GetCatalog(urlStr string) (list Catalog, err error)
GetCatalog 获取章节列表
func (ZonghengReader) GetCategories ¶
func (r ZonghengReader) GetCategories(urlStr string) (list Catalog, err error)
GetCategories 获取所有分类
func (ZonghengReader) GetInfo ¶
func (r ZonghengReader) GetInfo(urlStr string) (ret Content, err error)
GetInfo 获取详细内容
Source Files ¶
- aimeizi5.go
- article.go
- baidu.go
- base.go
- biqugeinfo.go
- biquyun.go
- blog.go
- book.go
- booktxt.go
- booktxtnet.go
- bxks.go
- bxwx.go
- content.go
- custom.go
- default.go
- explore.go
- find.go
- fuman.go
- func.go
- github.go
- haimaoba.go
- hanmanku.go
- hanmanwo.go
- helper.go
- hongxiu.go
- html.go
- interface.go
- jx.go
- kanmeizi.go
- laosijixs.go
- learnku.go
- list.go
- manhwa.go
- manwuyu.go
- mcmssc.go
- mluoqiu.go
- paoshu8.go
- pub.go
- qidian.go
- qkshu6.go
- qu.go
- query.go
- r2hm.go
- rss.go
- seventeenK.go
- shuge.go
- soe8.go
- ssmh.go
- string.go
- uxiaoshuo.go
- weijiaoshou.go
- xbiquge.go
- xin18.go
- xs280.go
- xs7878.go
- xxsy.go
- zongheng.go