Expand / Unshorten Shortened URL's.
toml
urlexpand = "0.0.2"
and then
```rust use core::time::Duration; use urlexpand::unshorten;
fn main() { let url = "https://bit.ly/3alqLKi"; assert!(unshorten(url, Some(Duration::new(30,0))).issome()); // with timeout assert!(unshorten(url, None).issome()); // without timeout } ```
bash
cargo run --example unshorten
Please feel free to contribute by making pull requests or even bug fixes.
Thanks in advance.
License: MIT