Expand description
This library provides an Iterator to crawl the list of files available through Index of HTTP url.
Here is an example usage:
use url::Url;
let url = Url::parse("http://localhost/logs/").unwrap();
let files: Vec<Url> = httpdir::list(url)?;
Or using the iterator:
for file in httpdir::Crawler::new().walk(url) {
let file: Url = file?;
}
Structs§
- Crawler
- The state of the crawler, created calling
Crawler::new()
.