ai-youtube-transcript
Version:
Fetch and process transcripts from YouTube videos with support for multiple languages, translation, and formatting
18 lines (17 loc) • 558 B
TypeScript
/**
* Constants used throughout the application
*/
export declare class Constants {
/**
* Regular expression to extract YouTube video ID from URL
*/
static readonly RE_YOUTUBE: RegExp;
/**
* User agent string for requests
*/
static readonly USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36,gzip(gfe)";
/**
* Regular expression to parse XML transcript
*/
static readonly RE_XML_TRANSCRIPT: RegExp;
}