Documentation ¶
Overview ¶
Package reduxer implements a set of functions to transform webpage to various formats.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capture ¶
func Capture(ctx context.Context, urls ...string) (shots []screenshot.Screenshots, err error)
Capture returns screenshot.Screenshots of given URLs
Types ¶
type Assets ¶ added in v0.15.1
type Assets struct {
Img, PDF, Raw, Txt, HAR, WARC, Media Asset
}
Assets represents the file paths stored on the local disk.
type Bundle ¶
type Bundle struct { screenshot.Screenshots Assets Assets Article readability.Article }
Bundle represents a bundle data of a webpage.
Click to show internal directories.
Click to hide internal directories.