Registry / utility / go-shiori-dom

go-shiori-dom

JSON →
library0.0.0-20230515143342-73569d674e1cgogounverified

Package dom provides DOM manipulation utilities for Go, typically used in web scraping or HTML processing.

go get github.com/go-shiori/dom
INSTALL
IMPORT
SIG · GO-SHIORI-DOM
G
go-shiori-dom
utilitygov0.0.0-20230515143342-73569d674e1c
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

dom
github.com/go-shiori/dom

Find all div elements in an HTML document

package main import ( "github.com/go-shiori/dom" "golang.org/x/net/html" ) func main() { doc, _ := html.Parse(nil) nodes := dom.GetElementsByTagName(doc, "div") _ = nodes }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230515143342-73569d674e1clatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
go-shiori-dom — go get go-shiori-dom · libregistry