Fix unnammed filesize
This commit is contained in:
parent
eb2785ebf2
commit
eb95a5ed37
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ class YoutubeDLModule(niobot.Module):
|
||||||
options.setdefault("postprocessors", [])
|
options.setdefault("postprocessors", [])
|
||||||
options["format"] = chosen_format
|
options["format"] = chosen_format
|
||||||
options["paths"] = paths
|
options["paths"] = paths
|
||||||
|
filesize = 0
|
||||||
|
|
||||||
with YoutubeDL(options) as downloader:
|
with YoutubeDL(options) as downloader:
|
||||||
await response.edit(content="Fetching metadata (step 1/10)")
|
await response.edit(content="Fetching metadata (step 1/10)")
|
||||||
|
|
Loading…
Reference in a new issue