@lzwme/m3u8-dl
Version:
Batch download of m3u8 files and convert to mp4
7 lines (6 loc) • 338 B
TypeScript
import type { ApiResponse, VideoInfo } from '../../types';
export declare abstract class BaseParser {
protected static success<T>(data: T): ApiResponse<T>;
protected static error(code: number, message: string): ApiResponse<null>;
static parse(url: string, headers?: Record<string, string>): Promise<ApiResponse<VideoInfo>>;
}