add "Lyrics" to search string to avoid album pages

This commit is contained in:
Gordon Shumway 2019-03-13 14:12:37 -04:00 committed by GitHub
parent 43fef26d3b
commit a83f73f0df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class Lyrics(callbacks.Plugin):
threaded = True
def dosearch(self, lyric):
data = search("{0} site:lyrics.wikia.com/wiki/".format(lyric))
data = search("{0} \"Lyrics\" site:lyrics.wikia.com/wiki/".format(lyric))
try:
title, url = data[0]
return title, url