diff --git a/program/music.py b/program/music.py index cf24bb1..9c6942e 100644 --- a/program/music.py +++ b/program/music.py @@ -40,7 +40,7 @@ def ytsearch(query: str): async def ytdl(link: str): stdout, stderr = await bash( - f'youtube-dl -g -f "best[height<=?720][width<=?1280]" {link}' + f'yt-dlp -g -f "best[height<=?720][width<=?1280]" {link}' ) if stdout: return 1, stdout diff --git a/requirements.txt b/requirements.txt index dd3760d..12d44aa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,6 @@ ffmpeg-python py-tgcalls pyrogram youtube-search-python -git+https://github.com/ytdl-org/youtube-dl@master yt-dlp lyricsgenius speedtest-cli