From de385d3f49585f1bdaf3ba3b5c2bd2c404f1cf48 Mon Sep 17 00:00:00 2001 From: Keroosha Date: Tue, 28 Feb 2023 02:26:55 +0300 Subject: [PATCH] =?UTF-8?q?FIX:=20=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=9F=D0=B0=D0=BB=D1=8B=D1=87=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- youtube-dl-api/youtube_dl_api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube-dl-api/youtube_dl_api/__init__.py b/youtube-dl-api/youtube_dl_api/__init__.py index d8f4bb3..f518be8 100644 --- a/youtube-dl-api/youtube_dl_api/__init__.py +++ b/youtube-dl-api/youtube_dl_api/__init__.py @@ -22,7 +22,7 @@ def report_state(id: str): def load_video(url: str, file_path: str, id: str): try: opts = { - "format": 'best[filesize<=50M][ext=mp4]/best[height<=480][ext=mp4]/best[ext=mp4]', + "format": 'best[height<=480][ext=mp4]/best[ext=mp4]', "quiet": True, "outtmpl": file_path, "progress_hooks": [report_state(id)]