scrape

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CrawlFiles

func CrawlFiles(seedURLs []*url.URL, exactFileRegex string, debug bool) ([]string, error)

CrawlFiles returns a list of file names found from the seed URL, filtered by file name regex.

func CrawlFolders

func CrawlFolders(seedURLs []*url.URL, exactFolderRegex string, recursive bool, debug bool) ([]string, error)

CrawlFolders returns a list of folder names found from each seed URL, filtered by folder name regex.

func CrawlFoldersPath added in v0.5.0

func CrawlFoldersPath(seedURLs []*url.URL, exactFolderRegex string, recursive bool, debug bool) ([]string, error)

CrawlFoldersPath returns a list of folder names found from each seed URL, filtered by folder name regex.

Types

This section is empty.

Jump to

Keyboard shortcuts

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