Versions in this module Expand all Collapse all v1 v1.0.1 Nov 7, 2023 Changes in this version type Geziyor + func (g *Geziyor) Stop() v1.0.0 Jun 22, 2023 Changes in this version + type ErrorFunc func(ctx context.Context, g *Geziyor, r *client.Request, err error) + type Geziyor struct + Client *client.Client + Exports chan interface{} + Opt *Options + func NewGeziyor(ctx context.Context, opt *Options) *Geziyor + func (g *Geziyor) Do(req *client.Request, callback ParseFunc) + func (g *Geziyor) Get(ctx context.Context, url string, callback ParseFunc) + func (g *Geziyor) GetRendered(ctx context.Context, url string, callback ParseFunc) + func (g *Geziyor) Head(ctx context.Context, url string, callback ParseFunc) + func (g *Geziyor) Post(ctx context.Context, url string, body io.Reader, callback ParseFunc) + func (g *Geziyor) Start(ctx context.Context) + type Options struct + AllowedDomains []string + BrowserEndpoint string + Cache cache.Cache + CachePolicy cache.Policy + CharsetDetectDisabled bool + ConcurrentRequests int + ConcurrentRequestsPerDomain int + CookiesDisabled bool + ErrorFunc ErrorFunc + Exporters []export.Exporter + LogDisabled bool + MaxBodySize int64 + MaxRedirect int + MetricsType metrics.Type + ParseFunc ParseFunc + ParseHTMLDisabled bool + PreActions []chromedp.Action + ProxyFunc func(*http.Request) (*url.URL, error) + RequestDelay time.Duration + RequestDelayRandomize bool + RequestMiddlewares []middleware.RequestProcessor + RequestsPerSecond float64 + ResponseMiddlewares []middleware.ResponseProcessor + RetryHTTPCodes []int + RetryTimes int + RobotsTxtDisabled bool + StartRequestsFunc StartRequestsFunc + StartURLs []string + Timeout time.Duration + URLRevisitEnabled bool + UserAgent string + type ParseFunc func(ctx context.Context, g *Geziyor, r *client.Response) + type StartRequestsFunc func(ctx context.Context, g *Geziyor)