UNPKG

consumet.custom

Version:

Nodejs library that provides high-level APIs for obtaining information on various entertainment media such as books, movies, comic books, anime, manga, and so on.

20 lines (19 loc) 675 B
import { IVideo, ISubtitle, Intro, VideoExtractor } from '../models'; declare class MegaCloud extends VideoExtractor { protected serverName: string; protected sources: IVideo[]; extract(videoUrl: URL): Promise<{ sources: IVideo[]; subtitles: ISubtitle[]; intro?: Intro; outro?: Intro; }>; extractVariables(text: string): number[][]; getSecret(encryptedString: string, values: number[][]): { secret: string; encryptedSource: string; }; decrypt(encrypted: string, keyOrSecret: string, maybe_iv?: string): string; matchingKey(value: string, script: string): string; } export default MegaCloud;