bskyapi

package
v0.8.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2026 License: MIT Imports: 26 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BookmarkOptions

type BookmarkOptions struct {
	Browser  string
	Profile  string
	Limit    int
	PageSize int
	MaxPages int
	Timeout  time.Duration
	// MediaHTTPPolicy is primarily useful to callers that need to inject a
	// constrained test policy. Normal imports use the downloader's safe policy.
	MediaHTTPPolicy *safehttp.Policy
}

type BookmarkStats

type BookmarkStats struct {
	PagesFetched            int    `json:"pages_fetched"`
	Seen                    int    `json:"seen"`
	Processed               int    `json:"processed"`
	Skipped                 int    `json:"skipped"` // total skipped entries; typed skip counters below are subsets
	SkippedBlocked          int    `json:"skipped_blocked"`
	SkippedNotFound         int    `json:"skipped_not_found"`
	SkippedUnsupported      int    `json:"skipped_unsupported"`
	SkippedMalformed        int    `json:"skipped_malformed"`
	Created                 int    `json:"created"`
	Updated                 int    `json:"updated"`
	Unchanged               int    `json:"unchanged"`
	Rendered                int    `json:"rendered"`
	MediaDiscovered         int    `json:"media_discovered"`
	MediaLinked             int    `json:"media_linked"`
	MediaUnavailable        int    `json:"media_unavailable"`
	MediaDownloaded         int    `json:"media_downloaded"`
	MediaGone               int    `json:"media_gone"`
	MediaErrors             int    `json:"media_errors"`
	MediaBlocked            int    `json:"media_blocked"`
	QuoteLinked             int    `json:"quote_linked"`
	QuoteSkipped            int    `json:"quote_skipped"`
	QuoteSkippedBlocked     int    `json:"quote_skipped_blocked"`
	QuoteSkippedNotFound    int    `json:"quote_skipped_not_found"`
	QuoteSkippedDetached    int    `json:"quote_skipped_detached"`
	QuoteSkippedUnsupported int    `json:"quote_skipped_unsupported"`
	QuoteSkippedMalformed   int    `json:"quote_skipped_malformed"`
	StoppedReason           string `json:"stopped_reason"`
}

func RunBookmarks

func RunBookmarks(ctx context.Context, cfg config.Config, st *store.Store, opts BookmarkOptions) (BookmarkStats, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL