Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func URLsToStrings ¶
Converts an slice of URLs to an array of strings
Types ¶
type GoqueryClient ¶
Goquery client used to scrape data from web pages. This struct is necessary because the default timeout into http.DefaultClient is 0. Because of that, we use a custom instance of http.Client.
func NewDefaultGoqueryClient ¶
func NewDefaultGoqueryClient() *GoqueryClient
func (*GoqueryClient) NewDocument ¶
func (gq *GoqueryClient) NewDocument(url string) (*goquery.Document, error)
Generates a new Goquery document from the given url using a custom http.Client, if possible.
Click to show internal directories.
Click to hide internal directories.