2 ms·
I've heard https://github.com/gocolly/colly#readme https://github.com/gocolly/colly#readme mentioned fondly, but I've never used it
by mdaniel 4y ago
I've heard https://github.com/gocolly/colly#readme https://github.com/gocolly/colly#readme mentioned fondly, but I've never used it
- kristianp 4y agoc.OnHTML("a[href]", func(e *colly.HTMLElement) { e.Request.Visit(e.Attr("href")) }) Sometimes I wish Go idioms included an iterator abstraction, it's easier to understand and less hideous than that functional callback style.