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,