UNPKG

newpipe-extractor-js

Version:
14 lines 508 B
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