johnwmillr / LyricsGenius

Download song lyrics and metadata from Genius.com 🎶🎤
http://www.johnwmillr.com/scraping-genius-lyrics/
MIT License
878 stars 159 forks source link

Feature request: Scrape lyrics while keeping the formatting/markdown styling of lyrics text #219

Open marinom1 opened 2 years ago

marinom1 commented 2 years ago

Is your feature request related to a problem? Please describe. When there is more than 1 artist on a song, Genius uses styling to differentiate between which lyrics are being said by what artist if they both have lyrics within the same stanza. A really good song example of this occurring is on the song "Don't Go Breaking My Heart" by Elton John & Kiki Dee. Currently, lyrics are saved in plain text format which loses information regarding which song lyrics are italicized, bolded, underlined, etc.

Describe the solution you'd like I would like for there to be an option to extend the text formatting customizability to be applied to lyrics. It currently appears to only apply towards descriptions, annotations, and maybe other pieces of information, but not lyrics. Could the lyrics scraper functionality be modified to be able to have the option to keep text formatting for lyrics?

Describe alternatives you've considered At the very least, I believe being able to save the lyrics in an html format would be a step in the right direction.

Additional context The purpose of this feature would be so lyrics can be given ownership. Currently, there is no way to tell who says what lyrics when the lyrics are saved like this:

[Verse 1: Elton John & Kiki Dee] Don't go breaking my heart I couldn't if I tried Oh honey if I get restless Baby you're not that kind Don't go breaking my heart You take the weight off of me Oh honey when you knock on my door Ooh, I gave you my key

Here is what the original Genius lyrics look like, where the regular text words belong to Elton John and italicized words belong to Kiki Dee: image

Thank you.