webicon

Crates.iowebicon
lib.rswebicon
version0.3.4
sourcesrc
created_at2016-02-02 22:06:34.924046
updated_at2017-02-13 21:18:29.516367
descriptionFavicon and apple-touch-icon scraper for Rust
homepagehttps://rust-webicon.unterwaditzer.net/
repositoryhttps://github.com/untitaker/rust-webicon
max_upload_size
id4064
size12,260
chalk (github:rust-lang-nursery:chalk)

documentation

https://rust-webicon.unterwaditzer.net/

README

rust-webicon

Build Status

A library for scraping a website's icon.

Usage:

extern crate webicon;
use webicon::IconScraper;

let mut scraper = IconScraper::from_http("http://twitter.com").unwrap();
let icons = scraper.fetch_icons();

icons.at_least(128, 128);  // Return icon that is at least 128x128 pixels large
icons.largest();  // Just return the largest one.

Read more in the docs.

License

Licensed under the MIT, see LICENSE.

Commit count: 48

cargo fmt