From 06d6775eb288790f1f4da50fd45b1dbaef6383bf Mon Sep 17 00:00:00 2001 From: The Guy <92889761+Tronser@users.noreply.github.com> Date: Fri, 17 Dec 2021 00:09:31 +0530 Subject: [PATCH] Update music.py Fix --- program/music.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/music.py b/program/music.py index a73c0b4..c2d05aa 100644 --- a/program/music.py +++ b/program/music.py @@ -33,7 +33,7 @@ def ytsearch(query: str): async def ytdl(format: str, link: str): - stdout, stderr = await bash(f'yt-dlp -g -f "{format}" {link}') + stdout, stderr = await bash(f'youtube-dl -g -f "{format}" {link}') if stdout: return 1, stdout.split("\n")[0] return 0, stderr