Expand / Unshorten Shortened URL's.
toml
urlexpand = "0.0.8"
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 } ```
bash
cargo run --example unshorten
adf.ly
- Adflyatominik.com
- part of Adf.ly b.link
- BLINKbit.ly
- Bitly Url Shortnerbit.do
- Bitdobn.gy
- BNGY buff.ly
- Buffer URL Shortnerchollo.to
- Chollo Ecommercecutt.ly
- Cuttlyfa.by
- part of rebrand.lyfb.me
- Facebook flip.it
- Flipboard fumacrom.com
- part of Adf.ly git.io
- Github goo.gl
- Google Service has now stopped their url shortening service gns.io
- part of trim (tr.im)hmm.rs
- HMM.RS intamema.com
part of Adf.ly is.gd
- IS GDiz4.short.gy
- short.io Service j.gs
- part of Adf.lykutt.it
- Kuttldn.im
- part of trim (tr.im)nmc.sg
- instra corporation ptynowlinks.net
- Now Links ow.ly
- part of Hootsuite q.gs
- part of Adfly rebrand.ly
- Rebrandlyrlu.ru
- RLU.RU rotf.lol
- part of tinyurl.coms.coop
- SCOOP sh.st
- shorte.stsmu.sg
- Singapore Management University snipr.com
snipurl.com
snurl.com
split.to
- Linksplit t.co
- Twittertiny.cc
- TinyCCtinyurl.com
- TinyURLtiny.one
- part of tinyurl.com
= tny.im
- TNY.IM tny.sh
- Linksplit tr.im
- trim (tr.im)v.gd
- V GD zpr.io
- ZapierPlease feel free to contribute by making pull requests or even bug fixes.
Thanks in advance.
License: MIT