update ytdl

This commit is contained in:
2026-02-25 17:02:46 +03:00
parent 0c5d17663c
commit 6dce990c4c
+2 -1
View File
@@ -71,7 +71,8 @@ export async function downloadVideoFromYouTube(url: string): Promise<{
}); });
const audioWebStream = await videoInfo.download({ const audioWebStream = await videoInfo.download({
itag: audioFormat.itag itag: audioFormat.itag,
client: "ANDROID"
}); });
const videoStream = Readable.fromWeb(videoWebStream as any); const videoStream = Readable.fromWeb(videoWebStream as any);