Documentation ¶
Index ¶
Constants ¶
View Source
const LatestPageVersion = 0
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchStatusNotOKError ¶
type FetchStatusNotOKError struct {
Page *Page
}
FetchStatusNotOKError is returned when the fetch status is not 200 OK. The Page contains the response and status.
func (*FetchStatusNotOKError) Error ¶
func (e *FetchStatusNotOKError) Error() string
type FetchThrottledError ¶
type FetchThrottledError struct{}
FetchThrottledError is returned when the fetch is throttled.
func (*FetchThrottledError) Error ¶
func (e *FetchThrottledError) Error() string
type OptDoBrowser ¶
type OptDoBrowser struct{}
type OptDoLimiter ¶
type OptDoLimiter struct {
Limiter Limiter
}
type OptDoReplace ¶
type OptDoReplace struct{}
type OptDoSilentThrottle ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func OptScraperAlwaysDoBrowser ¶
func OptScraperAlwaysDoBrowser() Option
type Page ¶
type Page struct { Meta PageMeta `json:"meta"` Request PageRequest `json:"request"` Response PageResponse `json:"response"` }
type PageRequest ¶
type PageResponse ¶
Click to show internal directories.
Click to hide internal directories.