From e91a5b957a8e383784ecb26ce59fa598108f04fd Mon Sep 17 00:00:00 2001 From: localhost Date: Sat, 24 Jan 2026 23:29:45 +0100 Subject: [PATCH] uh... --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 2bc6cd2..4f5c6e1 100644 --- a/index.ts +++ b/index.ts @@ -134,7 +134,7 @@ app.ws('/download/:id', async (ws, req) => { if (info.playabilityStatus?.status !== 'OK') { ws.send(`This video is not available for download (${info.playabilityStatus?.status} ${info.playabilityStatus?.reason}).`); return ws.close() - } else if (info.videoDetails.isLiveContent) { + } else if (info.videoDetails.isLive) { ws.send('This video is live, and cannot be downloaded.'); return ws.close() } else if (info.videoDetails.videoId != req.params.id) {