parsers

package
v0.0.0-...-e91687b Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTMLProvider

type HTMLProvider struct {
}

HTMLProvider is for providing an HTML Page to the system

func (*HTMLProvider) Parse

func (h *HTMLProvider) Parse(node *core.URLMap, baseURL *url.URL, t utils.Tracker) (*core.URLMap, []*url.URL)

Parse parses an HTML node

type PageProvider

type PageProvider interface {
	Parse(core.URLMap) (core.URLMap, []*url.URL)
}

PageProvider provides the URLs from a page type

Jump to

Keyboard shortcuts

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