diff --git a/main.py b/main.py index 18719b9..346d3b5 100644 --- a/main.py +++ b/main.py @@ -45,7 +45,7 @@ async def check_new_videos(): os.makedirs(channel_download_dir, exist_ok=True) ydl_opts = { - 'format': 'best', + 'format': 'bestvideo+bestaudio/best', 'outtmpl': f'{channel_download_dir}/%(title)s [%(id)s].%(ext)s', } @@ -66,5 +66,4 @@ async def on_ready(): print(f'{bot.user.name} has connected to Discord!') check_new_videos.start() -bot.run(DISCORD_BOT_TOKEN) - +bot.run(DISCORD_BOT_TOKEN) \ No newline at end of file