Skip to content
#

url-preview

Here are 17 public repositories matching this topic...

This code is a Go implementation of a link preview scraper. Given a URL, it can fetch the contents of the web page at that URL and extract some metadata (icon, name, title, description, images, and link) to create a DocumentPreview struct. This struct can be embedded in a Document struct which also contains the HTML contents of the page in a bytes.

  • Updated May 15, 2023
  • Go

Improve this page

Add a description, image, and links to the url-preview topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the url-preview topic, visit your repo's landing page and select "manage topics."

Learn more