Skip to content
Browse files

lyrics: detect missing lyrics in result

  • Loading branch information...
1 parent c65b237 commit 3ffbe171e50bcf850664eaf8adb6ace3df8a748b @sampsyo sampsyo committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 beetsplug/
2 beetsplug/
@@ -115,7 +115,7 @@ def fetch_lyricscom(artist, title):
html = urllib.urlopen(url).read()
lyrics = extract_text(html, '<div id="lyric_space">')
- if lyrics:
+ if lyrics and 'Sorry, we do not have the lyric' not in lyrics:
parts = lyrics.split('\n---\nLyrics powered by', 1)
if parts:
return parts[0]

0 comments on commit 3ffbe17

Please sign in to comment.
Something went wrong with that request. Please try again.