Skip to content

Ungo is a package that has the function of unshorten urls.

License

Notifications You must be signed in to change notification settings

arthur4ires/Ungo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ungo

Ungo is a package that has the function of unshorten urls.

How to install

You should run the following commands:
go get github.com/ReiGelado/Ungo and go install github.com/ReiGelado/Ungo
There, you can now use :)

Shorteners

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

Example

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)
}

License

Ungo is under the MIT license. You can read the full terms here: MIT

About

Ungo is a package that has the function of unshorten urls.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages