Update to ytdlp not ytdl (#287)

This commit is contained in:
Hunter XD
2022-03-17 00:50:20 +05:30
committed by Devesh Pal
parent 0df6f2fc27
commit f106c48423

View File

@@ -335,7 +335,7 @@ async def get_stream_link(ytlink):
k = x["url"]
return k
"""
stream = await bash(f'youtube-dl -g -f "best[height<=?720][width<=?1280]" {ytlink}')
stream = await bash(f'yt-dlp -g -f "best[height<=?720][width<=?1280]" {ytlink}')
return stream[0]