From c6021605974928f70832e4cd0ee70c422a075dac Mon Sep 17 00:00:00 2001 From: localhost Date: Fri, 29 Mar 2024 15:48:15 +0100 Subject: [PATCH] hopefully fixed x2 --- utils/ytdlp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/ytdlp.js b/utils/ytdlp.js index 7d78b8b..9da4302 100644 --- a/utils/ytdlp.js +++ b/utils/ytdlp.js @@ -8,7 +8,7 @@ async function downloadVideo(url, ws, id) { const video = await metadata.getVideoMetadata(id) if (video.lengthSeconds > 1500) { const formats = await getFormats(url, ws) - if (!formats.fail && formats.includes('18 mp4')) { + if (!formats.fail && formats.includes('360p')) { args.push('-f 18') } }