solaluset / DandelionMusic

Discord music bot written in Python that supports YouTube, SoundCloud, Spotify, Bandcamp, Twitter and custom files
GNU General Public License v3.0
42 stars 17 forks source link

Error in music playback #203

Open StonebanksYT opened 2 weeks ago

StonebanksYT commented 2 weeks ago

Hello I get the following error from the bot and the console: ERROR: [youtube] cmMiyZaSELo: Sign in to confirm you’re not a bot. This helps protect our community. Learn more

And the bot logs the following error in discord channel: Error: Unable to fetch song info. If you're trying to access age restricted content, check the documentation/wiki.

solaluset commented 2 weeks ago

Hello

This is a known issue. Your IP probably got flagged by YT. Now you need to:

  1. Log into Google account (you can use your account or create a new one)
  2. Open YouTube and log in there too
  3. Export your cookies (you can use any suitable browser extension)
  4. Put cookies.txt into the specified folder: https://github.com/solaluset/DandelionMusic/wiki/Configuration#custom-cookies
  5. Restart the bot
Soham-Das-afk commented 6 days ago

Hello

This is a known issue. Your IP probably got flagged by YT. Now you need to:

  1. Log into Google account (you can use your account or create a new one)
  2. Open YouTube and log in there too
  3. Export your cookies (you can use any suitable browser extension)
  4. Put cookies.txt into the specified folder: https://github.com/solaluset/DandelionMusic/wiki/Configuration#custom-cookies
  5. Restart the bot

still same problem tried with two different cookies from two different sources

solaluset commented 6 days ago

You should extract your cookies, what extensions did you use?

Soham-Das-afk commented 5 days ago

For the first one J2TEAM for the second one Get cookies.txt LOCALLY

solaluset commented 2 days ago

This is strange. Can we contact through Discord?