parser

package
v0.0.0-...-35e70cf Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	Config *ParserConfig
}

func (*Parser) FiltersUrls

func (p *Parser) FiltersUrls(raw_url *string) (bool, error)

func (*Parser) GetAllUrls

func (p *Parser) GetAllUrls(body io.ReadCloser, urls *[]string) (err error)

func (*Parser) GetHrefs

func (p *Parser) GetHrefs(n *html.Node, urls *[]string) error

TODO parse all ressources defined in config

type ParserConfig

type ParserConfig struct {
	FilteredFileExtensions []string
}

Jump to

Keyboard shortcuts

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