url-scraper

Crates.iourl-scraper
lib.rsurl-scraper
version0.1.2
sourcesrc
created_at2018-10-07 03:55:57.077564
updated_at2020-07-02 20:25:00.873685
descriptionSimple HTML URL scraper
homepage
repositoryhttps://github.com/pop-os/url-scraper
max_upload_size
id88473
size92,341
Michael Murphy (mmstick)

documentation

README

url-scraper

Rust crate for scraping URLs from HTML pages.

Example

extern crate url_scraper;
use url_scraper::UrlScraper;

fn main() {
    let directory = "http://phoronix.com/";

    let scraper = UrlScraper::new(directory).unwrap();
    for (text, url) in scraper.into_iter() {
        println!("{}: {}", text, url);
    }
}
Commit count: 7

cargo fmt