URLEXPAND
==========

[](https://docs.rs/urlexpand)
[](https://travis-ci.com/marirs/urlexpand)
[](https://github.com/marirs/urlexpand/blob/main/LICENSE)
Expand / Unshorten Shortened URL's.
### Example Usage
```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))).is_some()); // 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
- buff.ly
- b.link
- chollo.to
- cli.gs
- cutt.ly
- fa.by
- gns.io
- is.gd
- ldn.im
- lurl.no
- moourl.com
- rotf.lol
- smallr.com
- snipr.com
- snipurl.com
- snurl.com
- su.pr
- t.co
- tiny.cc
- tinyurl.com
- tiny.one
- tr.im
### Contribution
Please feel free to contribute by making pull requests or even bug fixes.
Thanks in advance.
---
License: MIT