glennliao / getfavicon

get favicon url from url/html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

INSTALL

go get github.com/glennliao/getfavicon

USE

func TestGet(t *testing.T) {
	favicon, err := getfavicon.Get("https://www.github.com/")
	if err != nil {
		panic(err)
	}

	fmt.Println(favicon)
}

About

get favicon url from url/html

License:MIT License


Languages

Language:Go 100.0%