From 5b4a7a8346dd1b1e43bf34a3edad01d3d699c3de Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Wed, 16 Feb 2022 13:39:37 +0700 Subject: [PATCH] change format --- program/video.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/program/video.py b/program/video.py index 07fc591..a6843f6 100644 --- a/program/video.py +++ b/program/video.py @@ -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,