Ungo is a package that has the function of unshorten urls.
You should run the following commands:
go get github.com/ReiGelado/Ungo
and
go install github.com/ReiGelado/Ungo
There, you can now use :)
The available shorteners are:
1bebiz ---> http://1be.biz
1tinynet ---> http://1tiny.net
ad2links ---> https://ad2links.com
ad7biz ---> http://ad7.biz
adfly ---> http://adf.ly
adfocus ---> http://adfoc.us
amankanlink --> http://kombatch.amankan.link
coegin ---> http://coeg.in
comicon ---> http://comicon.com.br
freeanimeonline ---> http://freeanimeonline.xyz
gadget14 ---> http://gadget14.pw
googl ---> http://goo.gl
gtaind ---> http://i.gtaind.com
hrefli ---> http://href.li
imgfiles ---> http://imgfiles.org
imagebam ---> http://imagebam.com
img3x ---> http://img3x.com
imagecurl ---> http://imgcurl.com
imagep2p ---> http://imagep2p.com
linkbucks ---> http://linkbucks.com/
linkshrink ---> http://linkshrink.net/
linktl ---> http://link.tl
motonewsclub ---> http://motonews.club
picnictrans ---> http://www.picnictrans.com/
playimg ---> http://playimg.com
ppw ---> http://p.pw
shst ---> http://sh.st
shtio ---> http://sht.io
shortenid ---> http://shorten.id
smllio ---> http://smll.io
tco ---> http://t.co
urlgogs ---> http://urlgo.gs
voyeurimage ---> http://voyeurimage.org
A simple example of how to use the library :)
package main
import (
"fmt"
"github.com/ReiGelado/Ungo"
)
func main() {
url, err := ungo.Shorten(ungo.Config{Url: "http://adf.ly/tYjLr", Shortener:"adfly"})
if err != nil {
panic(err)
}
fmt.Println(url)
}
Ungo is under the MIT license. You can read the full terms here: MIT