node-genius-lyrics icon indicating copy to clipboard operation
node-genius-lyrics copied to clipboard

Lyrics now have parts of the about section at the start

Open Impxrtant322 opened this issue 4 months ago • 1 comments

For example, the song Lukas Graham - 7 Years will now return

"239 ContributorsTranslationsΕλληνικάÍslenskaالعربية7 Years Lyrics<img src="https://images.genius.com/avatars/medium/b8e10fb9f12762d48b7a006604ec644e" class="SizedImage__NoScript-sc-39a204ed-2 ZRulI"/>In “7 Years”, the Danish group Lukas Graham reflect on their life and wonder about growing older. Nostalgia from ages 7, 11, and 20 are explored before the band goes on to wonder about their life in the… Read More [Chorus] Once, I was seven years old, my mama told me "Go make yourself some friends or you'll be lonely" Once, I was seven years old"

The expected output is "[Chorus] Once, I was seven years old, my mama told me "Go make yourself some friends or you'll be lonely" Once, I was seven years old"

Could be due to changes to the genius website.

Impxrtant322 avatar Aug 03 '25 06:08 Impxrtant322

Simple workaround that should work in most cases:

const lyrics_full = await firstSong.lyrics();
const lyrics = lyrics_full.substring(lyrics_full.indexOf("["));

sassvagyok avatar Aug 07 '25 16:08 sassvagyok