| Crates.io | webicon |
| lib.rs | webicon |
| version | 0.3.4 |
| created_at | 2016-02-02 22:06:34.924046+00 |
| updated_at | 2017-02-13 21:18:29.516367+00 |
| description | Favicon and apple-touch-icon scraper for Rust |
| homepage | https://rust-webicon.unterwaditzer.net/ |
| repository | https://github.com/untitaker/rust-webicon |
| max_upload_size | |
| id | 4064 |
| size | 12,260 |
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.
Licensed under the MIT, see LICENSE.