Re: [go-nuts] Trying to write a web scraper that checks dead links on a webapge

2025-02-13 Thread Jan Mercl
On Thu, Feb 13, 2025 at 2:30 PM Dennis Lee wrote: > I use: > - go version go1.22.3 windows/amd64 Too old Go version, see https://tip.golang.org/doc/go1.23 -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop

[go-nuts] Trying to write a web scraper that checks dead links on a webapge

2025-02-13 Thread Dennis Lee
I am using the net/html package. I try todo this: ``` doc, err := html.Parse(body) if err != nil { return } for n := range node.Descendants() ``` But i cant compile because Descendants isnt implemented on the Node. I use: - go version go1.22.3 windows/amd64 - golang.org/x/net v0.35.0 If i go