Documentation ¶
Overview ¶
Package collect provides methods for collecting the data from the DOM document
Index ¶
- type Collect
- func (collect Collect) Assets() map[string][]string
- func (collect Collect) Audio() (audio []string)
- func (collect Collect) Images() (images []string)
- func (collect Collect) Links(request *colly.Request) (links []string)
- func (collect Collect) Scripts() (scripts []string)
- func (collect Collect) Styles() (links []string)
- func (collect Collect) Title() (text string)
- func (collect Collect) Video() (video []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collect ¶
type Collect struct {
// contains filtered or unexported fields
}
Collect settings
func (Collect) Images ¶
Images returns all <img> "src" attribute TODO: Parse srcset attribute as well
Click to show internal directories.
Click to hide internal directories.