Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser []responseParser
func NewResponseParser ¶
func NewResponseParser() *Parser
func (*Parser) InitWithOptions ¶
func (*Parser) ParseResponse ¶
func (p *Parser) ParseResponse(resp *navigation.Response) (navigationRequests []*navigation.Request)
parseResponse runs the response parsers on the navigation response
type ResponseParserFunc ¶
type ResponseParserFunc func(resp *navigation.Response) []*navigation.Request
responseParserFunc is a function that parses the document returning new navigation items or requests for the crawler.
Click to show internal directories.
Click to hide internal directories.