diff --git a/headphones/lyrics.py b/headphones/lyrics.py index b7c7aea7..68d39d44 100644 --- a/headphones/lyrics.py +++ b/headphones/lyrics.py @@ -7,8 +7,8 @@ from headphones import logger def getLyrics(artist, song): - params = { "artist": artist, - "song": song, + params = { "artist": artist.encode('utf-8'), + "song": song.encode('utf-8'), "fmt": 'xml' } @@ -43,7 +43,7 @@ def getLyrics(artist, song): m = re.compile('''