Documentation
¶
Index ¶
- func CloneNode(node *html.Node) *html.Node
- func DropTag(node *html.Node)
- func GetLongestCommonSubString(str1, str2 string) string
- func GetNodeClass(node *html.Node) string
- func GetNodeClassList(node *html.Node) []string
- func GetNodeHash(node *html.Node) string
- func GetNodeHtml(node *html.Node) (string, error)
- func GetNodeRootTree(node *html.Node) string
- func GetNodeText(node *html.Node) string
- func GetNodeTextByXPath(node *html.Node, xpath string) string
- func GetNodesText(nodes []*html.Node) []string
- func GetNodesTextByXPath(nodes []*html.Node, xpath string) string
- func NormalizeNode(node *html.Node)
- func PadHostForImages(host, url string) string
- func RemoveNode(node *html.Node)
- func RemoveNoiseNode(node *html.Node, noiseNodeList []string)
- func StripNodes(root *html.Node, tagNamesMap map[string]bool)
- func StripTags(root *html.Node, tag string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodeClass ¶
func GetNodeClassList ¶
func GetNodeHash ¶
func GetNodeRootTree ¶
func GetNodeText ¶
func GetNodesText ¶
func NormalizeNode ¶
func PadHostForImages ¶
func RemoveNode ¶
func RemoveNoiseNode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.