5 unstable releases
0.3.1 | Feb 2, 2025 |
---|---|
0.3.0 | Feb 2, 2025 |
0.2.0 | Feb 1, 2025 |
0.1.1 | Jan 31, 2025 |
0.1.0 | Jan 31, 2025 |
#2 in #ico
463 downloads per month
19KB
253 lines
favicon-scraper
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);
lib.rs
:
favicon-scraper
A simple crate to scrape favicons asynchronously that's intended to just work
To get started, have a look at scrape
!
Dependencies
~7–18MB
~253K SLoC