MCPcopy Create free account
hub / github.com/SamuelZ12/longcut / constructor

Method constructor

lib/youtube-transcript-provider.ts:47–51  ·  view source on GitHub ↗
(code: TranscriptErrorCode, message: string)

Source from the content-addressed store, hash-verified

45 | 'AGE_RESTRICTED' // Video needs login for age verification
46 | 'VIDEO_UNAVAILABLE' // Deleted, private, or region-locked
47 | 'TRANSCRIPTS_DISABLED' // Video has no captions at all
48 | 'NO_TRANSCRIPT' // Requested language not available
49 | 'IP_BLOCKED' // Rate limited (429) or reCAPTCHA
50 | 'PAGE_FETCH_FAILED' // Couldn't extract API key from page HTML
51 | 'INNERTUBE_REJECTED' // InnerTube API returned an error
52 | 'CAPTION_FETCH_FAILED' // Got caption URL but couldn't download it
53 | 'UNKNOWN';
54

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected