change format

This commit is contained in:
levina 2022-02-16 13:39:37 +07:00 committed by GitHub
parent e242681ab2
commit 5b4a7a8346
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,9 +54,10 @@ def ytsearch(query: str):
async def ytdl(link):
proc = await asyncio.create_subprocess_exec(
"yt-dlp",
"--geo-bypass",
"-g",
"-f",
"best[height<=?720][width<=?1280]",
"best[height<=?720][width<=?1280]/best",
f"{link}",
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.PIPE,