Struct webicon::IconScraper
[−]
[src]
pub struct IconScraper { /* fields omitted */ }
Methods
impl IconScraper
[src]
pub fn from_http<I: IntoUrl>(url: I) -> Self
[src]
pub fn fetch_icons(&mut self) -> IconCollection
[src]
Search the document for icon metadata, also brute-force some favicon paths.
Note: This operation is fairly costly, it is recommended to cache the results!
Panics
If the document is not fetched yet.