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: