fixed quote being appended to url
This commit is contained in:
parent
8b6a59e820
commit
d53803370a
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ class YoutubeDL(BotBaseCog):
|
|||
@commands.command()
|
||||
async def youtubedl(self, ctx):
|
||||
try:
|
||||
url = f"{ctx.message.content.split(" ", 1)[1]}"
|
||||
url = ctx.message.content.split(" ", 1)[1]
|
||||
url = '"' + url + '"'
|
||||
video_or_audio = ctx.message.content.split(" ", 2)[2]
|
||||
process = subprocess.Popen(["python3", "data/ytdl/youtubedl.py", url, video_or_audio])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue