Jeve-Stobs / lyrics-finder

An npm package to fetch song lyrics from Google
MIT License
4 stars 1 forks source link

TypeError: Cannot read properties of undefined (reading 'split') #1

Closed marf closed 2 years ago

marf commented 2 years ago

Hello,

I have tried to run test.js but it says:

TypeError: Cannot read properties of undefined (reading 'split')

Is the package currently working?

Thanks!

Jeve-Stobs commented 2 years ago

Hello! I believe this was due to an error where Google didn't return the lyrics, so there wasn't any html to parse. This has been fixed in https://github.com/Jeve-Stobs/lyrics-finder/commit/e71a30584a70e790aabf9b5c4bf6fbf7bfb85065