Open LingleDev opened 1 week ago
I was able to find a fix for this issue by playing around with the library code; I submitted a pull request to see if it can be fixed
@LingleDev thanks~ does it happen on all videos or only some? and if so do you have an example video ID where it fails? thanks~ 🙏
So I am attempting to use the yt-search npm library for my Discord music bot, as ytdl has stopped working for getting video info.
Every time I attempt to search using a video's ID, I get this error:
I was able to stop this error by adding a ? after the array index on line 931.
Like so: