diff --git a/beetsplug/lyrics.py b/beetsplug/lyrics.py index e899c0e863..e39560c03c 100644 --- a/beetsplug/lyrics.py +++ b/beetsplug/lyrics.py @@ -483,7 +483,10 @@ def extract_lyrics(self, html): if not soup: return None - return soup.find("div", class_="song-text").get_text() + c = soup.find("div", class_="song-text") + if c: + return c.get_text() + return None def remove_credits(text):