Versions in this module Expand all Collapse all v0 v0.1.0 Nov 28, 2025 Changes in this version + var ErrInvalidURL = errors.New("invalid URL") + var ErrNoImageURL = errors.New("no image URL") + var ErrNullPointer = errors.New("null reference instance") + type Webinfo struct + Canonical string + Description string + ImageURL string + Location string + Title string + URL string + UserAgent string + func Fetch(ctx context.Context, urlStr, userAgent string) (info *Webinfo, err error) + func (w *Webinfo) DownloadImage(ctx context.Context, destDir string, temporary bool) (outPath string, err error) + func (w *Webinfo) DownloadThumbnail(ctx context.Context, destDir string, width int, temporary bool) (outPath string, err error)