- Type:
function
pathsToMatch,
fileTypesToMatch,
and exclusionPatterns.
To customize this behavior, define a linkExtractor function.
This function runs on every crawled page and returns a list of URLs as strings.
Examples
JavaScript
JavaScript
JavaScript
Parameters
A Cheerio instance with the HTML of the crawled page.