Add configurable timeout to LoadURL
cnp96 opened this issue · 1 comments
cnp96 commented
The LoadURL
method should have a timeout parameter to avoid indefinite load time.
Optionally, it could also accept any other client parameters.
func LoadURL(url string, clientOpts ...*http.Client) (*html.Node, error) {
}