Documentation ¶
Index ¶
- Variables
- func InitCrawler()
- func NewOptions(url *string, logFileOption *os.File, report *bool, recursive *bool, ...)
- func PrintOptions(options *Options)
- func RunCrawlerCmd()
- func TreatA(doc *goquery.Document) []string
- func TreatLinkHref(doc *goquery.Document) []string
- func TreatScriptSrc(doc *goquery.Document) []string
- type Options
- type URLVisitedStruct
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Internal_ressources []*gopstaticcrawler.Ressource External_ressources []*gopstaticcrawler.Ressource URLVisited URLVisitedStruct ScreenshotList []gopchromedp.Item ScreenshotChan chan struct{} UrlChan chan string )
Functions ¶
func InitCrawler ¶
func InitCrawler()
func NewOptions ¶
func PrintOptions ¶
func PrintOptions(options *Options)
func TreatLinkHref ¶
func TreatScriptSrc ¶
Types ¶
type Options ¶
type Options struct { UrlPtr *string LogFile *os.File ReportPtr *bool RecursivePtr *bool ScreenshotPtr *bool CookiePtr *string ProxyPtr *string DelayPtr *int ConcurrencyPtr *int }
var GoCrawlerOptions Options
type URLVisitedStruct ¶
Click to show internal directories.
Click to hide internal directories.