Prince-Mendiratta / BotsApp

Your personal assistant, on WhatsApp! The most user friendly userbot for the platform!
GNU General Public License v3.0
5.5k stars 1.27k forks source link

[BUG] - song - HTTP 429 Error #61

Open Prince-Mendiratta opened 2 years ago

Prince-Mendiratta commented 2 years ago

Sometimes, when using the .song command, the audio is not downloaded due to HTTP 429 error. The 429 error stands for Too Many Requests. This issue lies with the library being used for downloading songs from youtube. YouTube doesn't allow downloading too many songs, too fast.

A quick fix could be restarting the bot and waiting for a while before retrying download.

This issue will be tackled either by switching to a different library or rate limiting downloads. Will be deliberated upon by the team.