From 6dce990c4c36b67b24466830baee46e07a05e530 Mon Sep 17 00:00:00 2001 From: Danil Nikolaev Date: Wed, 25 Feb 2026 17:02:46 +0300 Subject: [PATCH] update ytdl --- src/util/ytdl.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/ytdl.ts b/src/util/ytdl.ts index 97308df..868747c 100644 --- a/src/util/ytdl.ts +++ b/src/util/ytdl.ts @@ -71,7 +71,8 @@ export async function downloadVideoFromYouTube(url: string): Promise<{ }); const audioWebStream = await videoInfo.download({ - itag: audioFormat.itag + itag: audioFormat.itag, + client: "ANDROID" }); const videoStream = Readable.fromWeb(videoWebStream as any);