Fix downloads starting to fail
This commit is contained in:
parent
c9fdf31745
commit
d0bf08b6de
5
main.py
5
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)
|
Loading…
Reference in New Issue