newpipe-extractor-js
Version:
JavaScript/Node.js port of NewPipeExtractor
14 lines • 508 B
TypeScript
import { LinkHandler } from '../../core/StreamingService';
export declare class YoutubeLinkHandler implements LinkHandler {
private static readonly VIDEO_ID_REGEX;
private static readonly SUBPATHS;
acceptUrl(url: string): boolean;
getId(url: string): string;
getUrl(id: string): string;
private extractId;
private assertIsId;
private getIdFromSubpathsInPath;
private isValidYouTubeHost;
private isAlternativeFrontend;
}
//# sourceMappingURL=YoutubeLinkHandler.d.ts.map