bitly

package
v0.0.0-...-3e27f85 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2021 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package bitly handles the bit.ly link shortener and its aliases.

Index

Constants

This section is empty.

Variables

View Source
var Aliases = []string{
	"0-60.in",
	"030mag.de",
	"1.azdhs.gov",
	"20ss.nyc",
	"360myte.ch",
	"4sq.com",
	"511t.ac",
	"6.wate.com",
	"7gee.se",
	"8legs.co",
	"9l7gf7x5o9v.xyz",
	"abcn.ws",
	"accntu.re",
	"actf.tv",
	"adobe.ly",
	"adweek.it",
	"amzn.to",
	"apple.co",
	"arfo.sk",
	"audi.us",
	"autism.link",
	"azc.cc",
	"bbc.in",
	"beta.works",
	"binged.it",
	"bitly.is",
	"blizz.ly",
	"bloom.bg",
	"bo.st",
	"bravo.ly",
	"bzfd.it",
	"canva.link",
	"cb.com",
	"chfstps.co",
	"chzb.gr",
	"cnet.co",
	"cnnmon.ie",
	"comca.st",
	"conta.cc",
	"crks.me",
	"d-mk.co",
	"don8blood.com",
	"econ.st",
	"engri.sh",
	"eonli.ne",
	"es.pn",
	"fltsim.me",
	"fxn.ws",
	"got.cr",
	"hrkey.co",
	"hub.am",
	"huff.to",
	"idle-empi.re",
	"ift.tt",
	"imdb.to",
	"kck.st",
	"kore.us",
	"krg.bz",
	"lat.ms",
	"laurc.ro",
	"lemde.fr",
	"lft.to",
	"m.ttmask.com",
	"marsdd.it",
	"mbist.ro",
	"mojo.ly",
	"mttr.io",
	"nydn.us",
	"nyti.ms",
	"oculta.bit.ly",
	"on.fb.me",
	"on.natgeo.com",
	"red.ht",
	"reut.rs",
	"sdut.us",
	"snd.sc",
	"spoti.fi",
	"stanford.io",
	"tcrn.ch",
	"ti.me",
	"usat.ly",
	"wapo.st",
	"wgrd.tech",
	"wttw.me",
	"xar.ph",
	"yhoo.it",
}

Aliases is a list of the hostnames of known bit.ly aliases. See https://wiki.archiveteam.org/index.php?title=URLTeam#bit.ly_aliases

Functions

func IsAlias

func IsAlias(host string) (bool, error)

IsAlias checks whether the host is a bit.ly alias.

func IsIPAlias

func IsIPAlias(ips ...net.IP) bool

IsIPAlias checks whether any IP addresses are a bit.ly alias.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL