package
0.0.3
Repository: https://github.com/qhzhyt/go-crawler.git
Documentation: pkg.go.dev

# Functions

CreateXPathNavigator creates a new xpath.NodeNavigator for the specified html.Node.
CSS2Xpath 将css转为xpath.
Find is like QueryAll but Will panics if the expression `expr` cannot be parsed.
FindOne is like Query but will panics if the expression `expr` cannot be parsed.
InnerText returns the text between the start and end tags of the object.
LoadDoc loads the HTML document from the specified file path.
LoadURL loads the HTML document from the specified URL.
NewSelector 通过bytes 生成selector.
OutputHTML returns the text including tags name.
Parse returns the parse tree for the HTML from the given Reader.
Query searches the html.Node that matches by the specified XPath expr, and return the first element of matched html.Node.
QueryAll searches the html.Node that matches by the specified XPath expr.
QuerySelector returns the first matched html.Node by the specified XPath selector.
QuerySelectorAll searches all of the html.Node that matches the specified XPath selectors.
SelectAttr returns the attribute value with the specified name.

# Constants

all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all Scopes.
all types.
all types.
all types.
all types.
all Scopes.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
and a counter ..
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.
all types.

# Variables

DisableSelectorCache will disable caching for the query selector if value is true.
SelectorCacheMaxEntries allows how many selector object can be caching.

# Structs

No description provided by the author
Selector Selector.

# Type aliases

Lexeme Lexeme.
Scope Scope.
Selectors Selector数组.