youtubeimport

package
v0.8.13 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: MIT Imports: 27 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 AuditInventory added in v0.7.0

type AuditInventory struct {
	// contains filtered or unexported fields
}

func NewLikedAuditInventory added in v0.7.0

func NewLikedAuditInventory(browser, profile string) *AuditInventory

func NewWatchLaterAuditInventory added in v0.7.0

func NewWatchLaterAuditInventory(browser, profile string) *AuditInventory

func (*AuditInventory) Inventory added in v0.7.0

type FeedStats added in v0.7.0

type FeedStats struct {
	FeedsProcessed int `json:"feeds_processed"`
	ItemsProcessed int `json:"items_processed"`
	ItemsCreated   int `json:"items_created"`
	ItemsUpdated   int `json:"items_updated"`
	ItemsUnchanged int `json:"items_unchanged"`
	ItemsSkipped   int `json:"items_skipped"`
	LinksCreated   int `json:"links_created"`
	Errors         int `json:"errors"`
}

FeedStats preserves per-family poll/arrival counts so health metrics never infer liked versus watch-later activity from one combined stage total.

type Options

type Options struct {
	Browser               string
	Profile               string
	Limit                 int
	WatchLater            bool
	Liked                 bool
	Summarize             bool
	Force                 bool
	Transcriber           string
	Model                 string
	CLI                   string
	Length                string
	Timeout               time.Duration
	Logger                *slog.Logger
	YTDLPBinary           string
	WhisperBinary         string
	WhisperModelPath      string
	WhisperVADPath        string
	TranscriptionLanguage string
	MacWhisperBinary      string
	SummarizeBinary       string
}

type Stats

type Stats struct {
	FeedsProcessed    int       `json:"feeds_processed"`
	ItemsProcessed    int       `json:"items_processed"`
	ItemsCreated      int       `json:"items_created"`
	ItemsDeleted      int       `json:"items_deleted"`
	ItemsUpdated      int       `json:"items_updated"`
	ItemsUnchanged    int       `json:"items_unchanged"`
	ItemsRendered     int       `json:"items_rendered"`
	ItemsSkipped      int       `json:"items_skipped"`
	SourcesCreated    int       `json:"sources_created"`
	LinksCreated      int       `json:"links_created"`
	SourcesQueued     int       `json:"sources_queued"`
	SourcesDeleted    int       `json:"sources_deleted"`
	SourcesExtracted  int       `json:"sources_extracted"`
	SourcesSummarized int       `json:"sources_summarized"`
	SourcesRendered   int       `json:"sources_rendered"`
	SourcesUnchanged  int       `json:"sources_unchanged"`
	Errors            int       `json:"errors"`
	WatchLater        FeedStats `json:"watch_later"`
	Liked             FeedStats `json:"liked"`
}

func Run

func Run(ctx context.Context, cfg config.Config, st *store.Store, opts Options) (Stats, error)

Jump to

Keyboard shortcuts

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