Skip to main content

Module sync

Module sync 

Source
Expand description

omni-dev transcript youtube sync — enumerate a channel’s videos and sync their transcripts to the filesystem, incrementally.

Builds on the per-video fetcher: enumerate video IDs in each channel (Youtube::recent_channel_videos for incremental, Youtube::all_channel_video_ids for --full backfill), then loop the existing Youtube::fetch, writing each transcript to a deterministic path <out>/<channel-id>/<video-id>.<lang>.<format>. “Already synced” is filesystem state: the target path existing means skip.

Videos without a usable transcript (no captions, age-gated, region-locked) are recorded and skipped — never abort the whole run.

Structs§

SyncCommand
Syncs transcripts for all videos in one or more YouTube channels to the filesystem, incrementally (skips videos already synced).