parser

package
v0.0.0-...-2decdf7 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitWithOptions

func InitWithOptions(options *types.Options)

func NewNavigationRequestURLFromJavaScriptEndpoint

func NewNavigationRequestURLFromJavaScriptEndpoint(item *jsluice.URL, source, tag, attribute string, resp *navigation.Response) *navigation.Request

func ParseResponse

func ParseResponse(resp *navigation.Response) (navigationRequests []*navigation.Request)

parseResponse runs the response parsers on the navigation response

Types

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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