sicra

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Crawler

func Crawler(
	scrapURL, userAgent, allowDomain, baseAuth, uriFilter, noIndexRule string,
	paralScan, maxDepth, timeoutResp int,
	delay int64,
	asyncScan, addError, skipNoIndex, verbose bool,
) *scrapeURL

Crawler takes as input the parameters to scan. Returns URL scanning statistics and a list of links for sitemap generation. By default, pages containing 'meta name="robots" content="noindex,nofollow"' are ignored

func GenerateSiteMap

func GenerateSiteMap(fileName string, urls []string) error

GenerateSiteMap will write the crawled url to given file

func GenerateTxt added in v0.1.6

func GenerateTxt(fileName string, urls []string) error

GenerateTxt generate txt file for error list url or skiped noindex

Types

This section is empty.

Jump to

Keyboard shortcuts

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