Documentation
¶
Overview ¶
Package webprev provides easy extraction of website previews. Generic, Facebook and Twitter cards.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebPreview ¶
WebPreview contains 3 web preview cards - Generic/default, OpenGraph/Facebook and Twitter.
func Preview ¶
func Preview(url string) (webPreview WebPreview, err error)
Preview makes request by given url, parse html amd return WebPreview struct.
Click to show internal directories.
Click to hide internal directories.