Genius lyrics header bug fixed and updated test case for lyrics plugin
@@ -404,6 +404,7 @@ class Genius(Backend):
lyrics_div = soup.find("div", {"data-lyrics-container": True})
+ if lyrics_div:
for br in lyrics_div.find_all("br"):
br.replace_with("\n")
