Notify Logic

This commit is contained in:
MasterAcnolo
2025-11-18 13:55:56 +01:00
parent 3f508da501
commit c1030400f5
2 changed files with 30 additions and 23 deletions

View File

@@ -4,6 +4,7 @@ const path = require("path");
const fs = require("fs");
const { logger } = require("../logger");
const { buildYtDlpArgs } = require("../helpers/buildArgs");
const notify = require("../helpers/notify")
function fetchDownload(options, listeners, speedListeners) {
@@ -43,6 +44,9 @@ function fetchDownload(options, listeners, speedListeners) {
}
}
if (line.match(/ERROR: Could not copy .* cookie database/i)) {
notify.notifyCookiesBrowserError();
}
});
});