#favicon #scrape #scraper #icons #google #ico

favicon-scraper

A favicon scraper that just works

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

Download history 33/week @ 2025-01-25 367/week @ 2025-02-01 42/week @ 2025-02-08 21/week @ 2025-02-15

463 downloads per month

MIT license

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