Documentation
¶
Overview ¶
Package robots provides robots.txt parsing and compliance checking.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser handles robots.txt parsing and URL compliance checking
func (*Parser) FetchAndParse ¶
FetchAndParse fetches and parses robots.txt from the given base URL
func (*Parser) GetCrawlDelay ¶
GetCrawlDelay returns the crawl delay specified in robots.txt
func (*Parser) RobotsTxtFound ¶
RobotsTxtFound returns whether robots.txt was found and parsed
Click to show internal directories.
Click to hide internal directories.