preview-rs 0.1.3

A (simple) crate for fetching preview metadata from shorturls and links
Documentation
1
2
3
4
5
6
7
fn main() {
    let prev = preview_rs::Preview::new("https://t.co/Wzr65fyjHA");
    let preview = prev.fetch_preview();

    println!("Here is the preview of this URL: {}", &preview);
    println!("Here is the preview of this URL: {:#?}", &preview);
}