| Crates.io | favicon-scraper |
| lib.rs | favicon-scraper |
| version | 0.3.1 |
| created_at | 2025-01-31 23:10:06.516052+00 |
| updated_at | 2025-02-02 22:21:25.301387+00 |
| description | A favicon scraper that just works |
| homepage | https://kitsunes.dev/Nekomata/favicon-scraper |
| repository | https://kitsunes.dev/Nekomata/favicon-scraper |
| max_upload_size | |
| id | 1537918 |
| size | 64,406 |
Scrapes favicons from websites. Does not particularly care for 100% optimal performance, it just needs to work.
To get started, try the scrape function:
use favicon_scraper::{scrape, Icon};
let icons: Vec<Icon> = scrape("https://google.com").await.unwrap();
// Should find something like "https://www.google.com/favicon.ico"
println!("Google's icon can be found at {}", icons[0].url);