update ytdl
This commit is contained in:
+2
-1
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user