Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenericScraper ¶ added in v0.1.1
type GenericScraper struct {
// contains filtered or unexported fields
}
func NewGenericScraper ¶ added in v0.1.1
func NewGenericScraper(opts *ScraperOption) *GenericScraper
func (*GenericScraper) Scrape ¶ added in v0.1.1
func (generic *GenericScraper) Scrape(ctx context.Context, url string) <-chan ScrapeData
type ScrapeData ¶
type ScrapeError ¶
func (ScrapeError) Display ¶ added in v0.1.1
func (scrape ScrapeError) Display() json.RawMessage
func (ScrapeError) Error ¶
func (err ScrapeError) Error() string
func (*ScrapeError) MarshalJSON ¶
func (scrapeerror *ScrapeError) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.