Fix downloads starting to fail

This commit is contained in:
Wizzard 2024-07-31 17:57:35 -04:00
parent c9fdf31745
commit d0bf08b6de
1 changed files with 2 additions and 3 deletions

View File

@ -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',
}
@ -67,4 +67,3 @@ async def on_ready():
check_new_videos.start()
bot.run(DISCORD_BOT_TOKEN)