Documentation
¶
Overview ¶
Package wat reads WAT files, the Common Crawl archive of per-page metadata: the response status and content type, the HTML title and meta tags, and the outbound links. A WAT file is a WARC whose metadata records carry a JSON envelope, so this package decodes that envelope on top of pkg/warc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Link ¶
type Link struct {
Path string `json:"path"`
URL string `json:"url"`
Text string `json:"text,omitempty"`
Title string `json:"title,omitempty"`
Alt string `json:"alt,omitempty"`
}
Link is a hyperlink extracted from page HTML.
Click to show internal directories.
Click to hide internal directories.