parser

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NotFountHref = "没找到链接"
)

Functions

func ExistParser

func ExistParser(parserName string) bool

func Parse80stwTable

func Parse80stwTable(contents []byte, site *dtype.Site) *dtype.ParseResult

Parse80stwTable 解析www.80s.tw手机电影网站影视目录

func ParseBiquGeTwTable

func ParseBiquGeTwTable(contents []byte, site *dtype.Site) *dtype.ParseResult

ParseBiquGeTwTable 解析www.biquge.com.tw小说网站目录

func ParsePiaotianTable

func ParsePiaotianTable(contents []byte, site *dtype.Site) *dtype.ParseResult

ParsePiaotianTable 解析www.piaotian.com小说网站目录

func ParseQidianTable

func ParseQidianTable(contents []byte, site *dtype.Site) *dtype.ParseResult

ParseQidianTable 解析起点中文网小说目录 book.qidian.com

func ParseZwduTable

func ParseZwduTable(contents []byte, site *dtype.Site) *dtype.ParseResult

ParseZwduTable 解析 www.zwdu.com 小说目录

func ParserList

func ParserList()

Types

type SiteParser

type SiteParser struct {
	SiteName   string                                                     // 名称
	ParserFunc func(contents []byte, site *dtype.Site) *dtype.ParseResult // Parser
}

func GetParser

func GetParser(parserName string) *SiteParser

func (*SiteParser) String

func (s *SiteParser) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL