mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 21:44:21 +00:00
Fix bug
This commit is contained in:
parent
fab827b032
commit
601281fe33
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ class Video:
|
||||||
"key": 'FFmpegExtractAudio',
|
"key": 'FFmpegExtractAudio',
|
||||||
"preferredcodec": 'opus'
|
"preferredcodec": 'opus'
|
||||||
}],
|
}],
|
||||||
"outtmpl": f"./opusfiles/{self.file}",
|
"outtmpl": self.file,
|
||||||
"progress_hooks": progress_hooks,
|
"progress_hooks": progress_hooks,
|
||||||
"quiet": True}) as ytdl:
|
"quiet": True}) as ytdl:
|
||||||
await loop.run_in_executor(executor, functools.partial(ytdl.download, [self.url]))
|
await loop.run_in_executor(executor, functools.partial(ytdl.download, [self.url]))
|
||||||
|
|
Loading…
Reference in a new issue