crawler

package
v4.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crawler

type Crawler struct {
	// contains filtered or unexported fields
}

func New

func New(opts *Options) (*Crawler, error)

func (*Crawler) Crawl

func (c *Crawler) Crawl(channelID string, opts *scraper.ScrapeOptions) (algolia.GroupBatchRes, error)

func (*Crawler) Scrape

func (c *Crawler) Scrape(channelID string, opts *scraper.ScrapeOptions) interface{}

type Options

type Options struct {
	AlgoliaAPIKey        string
	AlgoliaApplicationID string
	AlgoliaIndexName     string
	GoogleAPIKey         string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL