Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CrawlConfig ¶
type CrawlConfig struct {
SeedURL string
MaxDepth int
Concurrency int
Timeout int
Proxy string
IgnoreRobots bool
Headers []string
Cookies string
}
CrawlConfig holds crawler configuration.
type CrawlResult ¶
type CrawlResult struct {
URLs []DiscoveredURL
Forms []DiscoveredForm
APIRoutes []string
JSFiles []string
}
CrawlResult holds all discovered resources.
func Crawl ¶
func Crawl(config CrawlConfig) (*CrawlResult, error)
Crawl performs web crawling starting from the seed URL.
type DiscoveredForm ¶
DiscoveredForm represents a found HTML form.
type DiscoveredURL ¶
DiscoveredURL represents a found URL.
Click to show internal directories.
Click to hide internal directories.