Skip to main content

crawl

Function crawl 

Source
pub async fn crawl(
    cfg: CrawlConfig,
    on_progress: impl Fn(Progress) + Send + Sync,
) -> Result<CrawlOutput, CrawlError>
Expand description

Crawls cfg.start_url with its own in-flight cap of politeness.max_in_flight.