You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lyrics
The lyrics seem to have some extra information at the end. Any idea why this is happening?
genius.remove_section_headers = True
song = genius.search_song('Solar Power','Lorde')
song.to_text() #or even with song.lyrics
Output: "I hate the winter ... Solar-olar-olar power101EmbedShare URLCopyEmbedCopy"
The text in bold appears for all requests with the initial number (101 here) being different each time.
Section Header (fixed) - using genius.remove_section_headers = True does not remove the headers (as seen above). Anywhere I've messed up?
Edit: Fixed the section header problem. Was initializing it before the token was passed. First one remains unanswered.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The lyrics seem to have some extra information at the end. Any idea why this is happening?
Output:
"I hate the winter ... Solar-olar-olar power101EmbedShare URLCopyEmbedCopy"
The text in bold appears for all requests with the initial number (101 here) being different each time.
genius.remove_section_headers = True
does not remove the headers (as seen above). Anywhere I've messed up?Edit: Fixed the section header problem. Was initializing it before the token was passed. First one remains unanswered.
Beta Was this translation helpful? Give feedback.
All reactions