mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-20 18:45:32 +01:00
Covert unicode artist/album strings to utf-8 before urlencoding
This commit is contained in:
@@ -194,8 +194,8 @@ class Cache(object):
|
||||
|
||||
params = { "method": "album.getInfo",
|
||||
"api_key": lastfm_apikey,
|
||||
"artist": dbartist['ArtistName'],
|
||||
"album": dbartist['AlbumTitle'],
|
||||
"artist": dbartist['ArtistName'].encode('utf-8'),
|
||||
"album": dbartist['AlbumTitle'].encode('utf-8'),
|
||||
"format": "json"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user