Crate url_scraper

Source
Expand description

Simple library for quickly fetching a list of URLs from a webpage.

§Example

extern crate url_scraper;
use url_scraper::UrlScraper;

let scraper = UrlScraper::new("http://phoronix.com/").unwrap();
for (text, url) in scraper.into_iter() {
    println!("{}: {}", text, url);
}

Structs§

UrlIter
An Iterator that returns (String, Url) pairs per iteration.
UrlScraper
Stores the HTML document in memory.

Enums§

Error