From e76eb508a9f3f348906af8ebada082e586521571 Mon Sep 17 00:00:00 2001 From: LeoMortari Date: Sun, 28 Sep 2025 00:29:51 -0300 Subject: [PATCH] Ajustes no download video --- main.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 9f4ed52..9e46c8e 100644 --- a/main.py +++ b/main.py @@ -174,9 +174,15 @@ def download_video( ydl_opts = { "format": quality_map[qualidade], "outtmpl": output_template, - "quiet": True, - "noplaylist": True, - "merge_output_format": "mp4", + 'quiet': True, + 'no_warnings': True, + 'skip_download': True, + 'nocheckcertificate': True, + 'ignoreerrors': True, + 'no_color': True, + 'extract_flat': 'in_playlist', + 'force_generic_extractor': True, + 'allow_unplayable_formats': True, } try: