|
|
|
|
|
by JoeAcchino
3173 days ago
|
|
Would this work? c := colly.NewCollector()
// this functions create a goroutine and returns a channel
ch := c.HTML("a")
e := <- ch
link := e.Attr("href")
// ...
I'm a bit rusty (ah!) with go, so bear with me if the above contains errors. |
|