This commit is contained in:
levina 2021-12-16 23:21:03 +07:00 committed by GitHub
parent 1c8c45c2c2
commit 01d9cb1167
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ async def play(c: Client, m: Message):
url = search[1]
duration = search[2]
thumbnail = search[3]
format = "bestaudio"
format = "bestaudio[ext=m4a]"
veez, ytlink = await ytdl(format, url)
if veez == 0:
await suhu.edit(f"❌ yt-dl issues detected\n\n» `{ytlink}`")
@ -222,7 +222,7 @@ async def play(c: Client, m: Message):
url = search[1]
duration = search[2]
thumbnail = search[3]
format = "bestaudio"
format = "bestaudio[ext=m4a]"
veez, ytlink = await ytdl(format, url)
if veez == 0:
await suhu.edit(f"❌ yt-dl issues detected\n\n» `{ytlink}`")