Just-Some-Bots / MusicBot

:musical_note: The original MusicBot for Discord (formerly SexualRhinoceros/MusicBot)
https://just-some-bots.github.io/MusicBot/
MIT License
3.13k stars 2.35k forks source link

Many songs are now throwing error `Cannot identify player` #1092

Closed amandasaffer closed 7 years ago

amandasaffer commented 7 years ago
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "C:\Users\Amanda\AppData\Local\Programs\Python\Python35\lib\site-packages\youtube_dl\extractor\youtube.py", line 1081, in _decrypt_signature
    video_id, player_url, s
  File "C:\Users\Amanda\AppData\Local\Programs\Python\Python35\lib\site-packages\youtube_dl\extractor\youtube.py", line 969, in _extract_signature_function
    raise ExtractorError('Cannot identify player %r' % player_url)
youtube_dl.utils.ExtractorError: Cannot identify player 'https://www.youtube.com/yts/jsbin/player-vflppxuSE/en_US/base.js'
 (caused by ExtractorError("Cannot identify player 'https://www.youtube.com/yts/jsbin/player-vflppxuSE/en_US/base.js'",))
thomasbsh commented 7 years ago

I am having the exact same problem.

thomasbsh commented 7 years ago

Hey I just found out a fix to the problem. Go to the location mentionned in the error ("C:\Users\Amanda\AppData\Local\Programs\Python\Python35\lib\site-packages\youtube_dl\extractor\youtube.py") and delete the file called "youtube.py". Restart the bot and it should reinstall the youtube.py. Restart the bot again and there you go! Hope it fixed it for you too. :)

rafaelwastaken commented 7 years ago

Update youtube-dl

FIERCEDINO080 commented 7 years ago

I fixed it by running update_deps.bat and restarting the bot

jayktaylor commented 7 years ago

https://github.com/Just-Some-Bots/MusicBot/issues/1072#issuecomment-297976717