MusicBot: [Bug Report] YouTube search fails - Failed to match ytInitialData JSON object
Describe the bug Does not query YouTube. Cannot properly connect to YouTube to find search query.
Result in console: [20:46:14] [WARN] [YoutubeSearchProvider]: Failed to match ytInitialData JSON object [20:46:26] [WARN] [YoutubeSearchProvider]: Failed to match ytInitialData JSON object
Result in channel: ๐ก No results found for eminem rap god
To Reproduce Steps to reproduce the behavior: Command: !play eminem rap god
Expected behavior Should load the video from the first result on YouTube.
Debug Info
System Properties:
java.version = 1.8.0_232
java.vm.name = OpenJDK 64-Bit Server VM
java.vm.specification.version = 1.8
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 1.8.0_232-b09
java.specification.version = 1.8
os.arch = amd64
os.name = Linux
JMusicBot Information:
Version = 0.2.10
Owner = 141302663022116864
Prefix = 1
AltPrefix = null
MaxSeconds = 0
NPImages = false
SongInStatus = true
StayInChannel = false
UseEval = false
UpdateAlerts = true
Dependency Information:
JDA Version = 3.8.3_464
JDA-Utilities Version = 2.1.5
Lavaplayer Version = 1.3.50
Runtime Information:
Total Memory = 38
Used Memory = 26
Discord Information:
ID = 658610915461169162
Guilds = 1
Users = 267
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 15
- Comments: 24 (4 by maintainers)
This will be fixed in version 0.3.1
Please wait for an official release (likely sometime this weekend), as updating lavaplayer is not the only change, and as already stated by others, anybody could create a malicious jar and attempt to pass it off as a copy of this bot.
~Keep in mind that jagrosh & others will not provide support for jar files not downloaded from Releases of this repo. Use the above jar file at your own risk.~ Comment of the precompiled jar is now deleted
i think the problem is with lavaplayer
Seems like RIAA had an issue with it ๐
Yes, which is why I stated to use it at your own risk.