From ce7bb54f8c6fdbbc90f375214f1f9f659260f458 Mon Sep 17 00:00:00 2001 From: localhost Date: Wed, 24 Sep 2025 19:33:39 +0200 Subject: [PATCH] message that its validated --- src/router/websocket.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/router/websocket.ts b/src/router/websocket.ts index a30605d..407faab 100644 --- a/src/router/websocket.ts +++ b/src/router/websocket.ts @@ -95,6 +95,8 @@ app.ws('/save', { if (!(await checkCaptcha(message))) { await cleanup(ws, videoId); return sendError(ws, 'Captcha validation failed.'); + } else { + ws.send('DATA - Captcha validated. Starting download...'); } const downloadResult = await downloadVideo(ws, videoId); @@ -144,6 +146,8 @@ app.ws('/savechannel', { if (!(await checkCaptcha(message))) { await cleanup(ws, channelId); return sendError(ws, 'Captcha validation failed.'); + } else { + ws.send('DATA - Captcha validated. Starting download...'); } videoIds[ws.id] = `downloading-${channelId}`;