From 3e2c562fb92e964b5787cc02ebbd355ce59627fb Mon Sep 17 00:00:00 2001 From: localhost Date: Wed, 5 Nov 2025 22:07:25 +0100 Subject: [PATCH] going back to 15min --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 4a48e41..2720997 100644 --- a/index.ts +++ b/index.ts @@ -146,7 +146,7 @@ app.ws('/download/:id', async (ws, req) => { return ws.close() } - if (info.basic_info.duration >= 1500) quality = '360p' // 25mins - temporary changed from 15min + if (info.basic_info.duration >= 900) quality = '360p' // 15min quality = getVideoQuality(info, quality) if (info.playability_status?.status !== 'OK') {