From eb95a5ed375690785abeb0d6a9f0b9232aae76fb Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Wed, 18 Sep 2024 21:08:01 +0100 Subject: [PATCH] Fix unnammed filesize --- app/modules/yd_dl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/modules/yd_dl.py b/app/modules/yd_dl.py index 345b03a..ac08b54 100644 --- a/app/modules/yd_dl.py +++ b/app/modules/yd_dl.py @@ -168,6 +168,7 @@ class YoutubeDLModule(niobot.Module): options.setdefault("postprocessors", []) options["format"] = chosen_format options["paths"] = paths + filesize = 0 with YoutubeDL(options) as downloader: await response.edit(content="Fetching metadata (step 1/10)")