andrade-soulseek-downloader
Version:
Simple, safe Soulseek download library with built-in rate limiting to prevent bans
23 lines • 597 B
TypeScript
export interface YouTubeDownloadOptions {
artist: string;
title: string;
label?: string;
destinationDir: string;
customFileName?: string;
}
export interface SearchResult {
url: string;
title: string;
duration: string;
views: number;
relevanceScore: number;
}
export declare class YouTubeDownloader {
constructor();
private calculateRelevanceScore;
private searchYouTube;
private convertToMp3;
private downloadVideo;
download(options: YouTubeDownloadOptions): Promise<string | null>;
}
//# sourceMappingURL=youtube-downloader.d.ts.map