Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

lyrics: detect missing lyrics in lyrics.com result

  • Loading branch information...
commit 3ffbe171e50bcf850664eaf8adb6ace3df8a748b 1 parent c65b237
@sampsyo sampsyo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  beetsplug/lyrics.py
View
2  beetsplug/lyrics.py
@@ -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]
Please sign in to comment.
Something went wrong with that request. Please try again.