-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[YOUTUBEJS][Player]: Failed to extract n-token decipher algorithm #15
Comments
Just restart your bot. It should fix it. |
Having the same issue and restarted the bot multiple times. Also tried down- and upgrading the package, same issue in all versions. Was working completely fine yesterday, today it's not working anymore and just giving the n-token error. |
AFAIK I can't do anything until youtubei.js fixes this as it's an internal error. View: LuanRT/YouTube.js#698 |
@Zythoxic @BhaveshBasrani try using the ANDROID client in the useClient option player.extractors.register(YoutubeiExtractor, {
...otherOptions,
useClient: "ANDROID"
}) Ignore the error after doing this and see if streaming works as intended |
This didn't work for me sadly |
@L-uu This is actually my bad. It seems I'm lost in my own code also. The correct syntax is player.extractors.register(YoutubeiExtractor, {
...otherOptions,
streamOptions: {
useClient: "ANDROID"
}
}) |
Tbf I should've probably figured that out myself too lmao, but while still displaying the same error it does play music. |
Can confirm using the Android client it does play the music again, despite the error. |
Damm its actually a big issue |
@BhaveshBasrani You cannot just switch to spotify, as it uses youtube to get the sound, or soundcloud if youtube is disabled |
Lavalink then ig |
adding the android client will still log this error, but the bot will work as intented so its not really an issue |
switching to lavalink is not a fix as they also need to scrape youtube for streaming. |
I released 1.2.0. This might fix it. Install it via Edit: Here are the change logs |
This issue is identified to be fixed in the latest version of |
I've updated the youtubei.js package, after that it was fixed. |
This is happening again as YouTube changed their validation. |
Identified the issue. Nothing I can do until youtubei.js releases 10.3.0 |
|
Nodejs v20
Was working fine until 2 seconds ago
The text was updated successfully, but these errors were encountered: