AgeRestricted

Type Alias AgeRestricted 

Source
pub type AgeRestricted = CouldNotRetrieveTranscript;
Expand description

Type alias for when the video is age-restricted and requires authentication

Aliased Type§

pub struct AgeRestricted {
    pub video_id: String,
    pub reason: Option<CouldNotRetrieveTranscriptReason>,
}

Fields§

§video_id: String

The YouTube video ID that was being accessed

§reason: Option<CouldNotRetrieveTranscriptReason>

The specific reason why the transcript couldn’t be retrieved