Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TrafilaturaFetcher ¶
type TrafilaturaFetcher struct {
// contains filtered or unexported fields
}
func (*TrafilaturaFetcher) Close ¶
func (f *TrafilaturaFetcher) Close() error
func (*TrafilaturaFetcher) Fetch ¶
Fetch a URL and return a WebPage resource. The web page will be fetched and parsed using the Trafilatura library. The returned resource will contain the metadata and content text. The request's StatusCode will be set to the HTTP status code returned. If there's an error fetching the page, in addition to the returned error, the *resource.WebPage will contain partial data pertaining to the request.
Click to show internal directories.
Click to hide internal directories.