Fix unnammed filesize

This commit is contained in:
Nexus 2024-09-18 21:08:01 +01:00
parent eb2785ebf2
commit eb95a5ed37

View file

@ -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)")