Documentation ¶
Index ¶
- func AttrValue(node *html.Node, attr string) (string, bool)
- func ExtractText(node *html.Node) []string
- func Find(node *html.Node, m Matcher) (*html.Node, bool)
- func FindAll(node *html.Node, m Matcher) []*html.Node
- func Flatten(fn func(string) []string) func([]string) []string
- func FlattenByNewLine(v []string) []string
- func RemoveStrings(remove ...string) func(s []string) []string
- func WithAttr(n *html.Node, s string) (string, bool)
- func WithAttrFn(n *html.Node, fn func(string) bool) (string, bool)
- type Matcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractText ¶
func FlattenByNewLine ¶
func RemoveStrings ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.