This commit is contained in:
2026-02-12 01:12:34 +03:00

View File

@@ -6,6 +6,13 @@ import (
"golang.org/x/net/html"
)
func Must[T any](v T, err error) T {
if err != nil {
panic(err)
}
return v
}
type crawlFunc func(*html.Node)
func SearchElem(n *html.Node, data string) chan *html.Node {