change format
This commit is contained in:
parent
e242681ab2
commit
5b4a7a8346
@ -54,9 +54,10 @@ def ytsearch(query: str):
|
|||||||
async def ytdl(link):
|
async def ytdl(link):
|
||||||
proc = await asyncio.create_subprocess_exec(
|
proc = await asyncio.create_subprocess_exec(
|
||||||
"yt-dlp",
|
"yt-dlp",
|
||||||
|
"--geo-bypass",
|
||||||
"-g",
|
"-g",
|
||||||
"-f",
|
"-f",
|
||||||
"best[height<=?720][width<=?1280]",
|
"best[height<=?720][width<=?1280]/best",
|
||||||
f"{link}",
|
f"{link}",
|
||||||
stdout=asyncio.subprocess.PIPE,
|
stdout=asyncio.subprocess.PIPE,
|
||||||
stderr=asyncio.subprocess.PIPE,
|
stderr=asyncio.subprocess.PIPE,
|
||||||
|
Loading…
Reference in New Issue
Block a user