feat: warn about empty searches

This commit is contained in:
Tomáš Mládek 2023-08-27 18:37:39 +02:00
parent 0b1ef02eb9
commit 6ebcf74365

View file

@ -147,6 +147,10 @@ while (true) {
logger.debug("Found %d videos: %j", videos.length, videos);
if (videos.length === 0) {
logger.warn("Got no videos!");
}
let downloaded = 0;
for (const video of videos) {
if (!video.id) {