Expand description
Transcript and caption fetching from media platforms.
Provides a source-agnostic library for retrieving transcripts/captions from
external media platforms (YouTube first; Vimeo, podcasts, generic VTT/SRT
URLs to follow). The source::TranscriptSource trait is the extension
point — concrete sources live under sources, format converters under
[format], and shared value types (cue::Cue, source::Transcript)
are reused across all sources.
This module has no clap dependency and is reusable from other commands or
external consumers.
Re-exports§
pub use cue::Cue;pub use error::Result;pub use error::TranscriptError;pub use format::Format;pub use source::FetchOpts;pub use source::LanguageInfo;pub use source::MediaInfo;pub use source::TrackKind;pub use source::Transcript;pub use source::TranscriptSource;
Modules§
- cue
- The
Cuevalue type — a single timed text segment. - error
- Error types for transcript operations.
- format
- Source-agnostic transcript output formats.
- source
- The
TranscriptSourcetrait and its supporting value types. - sources
- Concrete
TranscriptSourceimplementations, one per media platform.