Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type CollectionList ¶
type CollectionList []ElementsMap
type CollectionsMap ¶
type CollectionsMap map[string]CollectionList
type ElementsMap ¶
type ElementsMap map[string]interface{}
type PageData ¶
type PageData struct { PageElements ElementsMap `json:"page"` Collections CollectionsMap `json:"collections"` }
type Scraper ¶ added in v0.1.1
type Scraper struct { URL string `yaml:"url"` Doc *goquery.Document PageData PageData PageElements []Element `yaml:"page"` Collections []Collection }
func NewScraper ¶ added in v0.1.1
NewScraper parses a scraper config and returns a Scraper
Click to show internal directories.
Click to hide internal directories.