Crate website_icon_extract

Source
Expand description

This library connects to a given url and tries to find references to icons that represent the page. Multiple standards are used for this:

All images are converted to absolute urls and checked if connecting to them works. They get analyzed for pixel size and only the necessary bytes are downloaded for that to happen.

§Example

let url = "https://google.com";
let list = ImageLink::from_website(url, "TEST", 5).unwrap();
println("{:?}", list);

Structs§

ImageLink
Holds information about an image

Enums§

ImageType
Types of image formats that this crate can identify.