From 48ca811dd93a9be9917a2c43f105f8d22e5a7c0c Mon Sep 17 00:00:00 2001 From: Vladislav Khapin Date: Sun, 26 Feb 2023 20:28:48 +0400 Subject: [PATCH] best --- 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 90c16fa..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[height<=480][ext=mp4]/bestvideo+bestaudio[ext=mp4]', + "format": 'best[height<=480][ext=mp4]/best[ext=mp4]', "quiet": True, "outtmpl": file_path, "progress_hooks": [report_state(id)]