gar-crawl-0.1.15 has been yanked.
gar-crawl
A high level HTML crawler with a concise builder.
The goal of this crate is to accomplish crawling and scraping tasks with minimal boilerplate. Default propagators are provided or you can make your own, and you can modify the Reqwest client used before building a crawler.
examples
Basic usage with default options ( crawl depth: 2, workers: 40, revisit: false )
builder
.add_default_propagators // crawl to href and src links
.add_handler
.build? // construct crawler
.crawl // begin crawl
.await?;
This example will crawl from https://example.org to a depth of 3, revisiting urls and printing all links found
builder
.add_default_propagators // crawl to href and src links
.revisit // default false
.whitelist // stay on this site
.user_agent // set user agent
.proxy? // set up https proxy
.add_handler
.depth // default 2
.build? // construct crawler
.crawl // begin crawl
.await?;
See examples/ for more examples