MCPcopy Create free account
hub / github.com/antchfx/htmlquery / Parse

Function Parse

query.go:168–170  ·  view source on GitHub ↗

Parse returns the parse tree for the HTML from the given Reader.

(r io.Reader)

Source from the content-addressed store, hash-verified

166
167// Parse returns the parse tree for the HTML from the given Reader.
168func Parse(r io.Reader) (*html.Node, error) {
169 return html.Parse(r)
170}
171
172// InnerText returns the text between the start and end tags of the object.
173func InnerText(n *html.Node) string {

Callers 1

loadHTMLFunction · 0.85

Calls

no outgoing calls

Tested by 1

loadHTMLFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…