URLEXPAND

Expand / Unshorten Shortened URL's.
Example Usage
toml
urlexpand = "0.0.5"
and then
```rust
use std::time::Duration;
use urlexpand::unshorten;
fn main() {
let url = "https://bit.ly/3alqLKi";
assert!(unshorten(url, Some(Duration::fromsecs(10))).issome()); // with timeout
assert!(unshorten(url, None).is_some()); // without timeout
}
```
Running the example
bash
cargo run --example unshorten
Current list of URL Shortening services supported
- bit.ly - Bitly Url Shortner
- bit.do
- buff.ly - Buffer URL Shortner
- b.link - BLINK
- chollo.to
- cutt.ly
- fa.by - part of rebrand.ly
- goo.gl - Google Service has now stopped their url shortening service
- gns.io - part of trim (tr.im)
- is.gd
- iz4.short.gy - short.io Service
- ldn.im - part of trim (tr.im)
- ow.ly - part of Hootsuite
- rebrand.ly
- rotf.lol - part of tinyurl.com
- sh.st - shorte.st
- snipr.com
- snipurl.com
- snurl.com
- split.to - Linksplit
- t.co - Twitter
- tiny.cc
- tinyurl.com - TinyURL
- tiny.one - part of tinyurl.com
- tny.sh - Linksplit
- tr.im - trim (tr.im)
Contribution
Please feel free to contribute by making pull requests or even bug fixes.
Thanks in advance.
License: MIT