ai-youtube-transcript
Version:
Fetch and process transcripts from YouTube videos with support for multiple languages, translation, and formatting
27 lines (26 loc) • 819 B
TypeScript
import { ProxyConfig } from './proxy-config';
/**
* Configuration for Webshare proxies
*/
export declare class WebshareProxyConfig implements ProxyConfig {
private readonly proxyUsername;
private readonly proxyPassword;
private static readonly WEBSHARE_PROXY_HOST;
private static readonly WEBSHARE_PROXY_PORT;
private static readonly WEBSHARE_PROXY_HTTPS_PORT;
/**
* Creates a new WebshareProxyConfig instance
*
* @param proxyUsername - The Webshare proxy username
* @param proxyPassword - The Webshare proxy password
*/
constructor(proxyUsername: string, proxyPassword: string);
/**
* Get the HTTP proxy URL
*/
getHttpProxyUrl(): string;
/**
* Get the HTTPS proxy URL
*/
getHttpsProxyUrl(): string;
}