1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 11:19:18 +01:00

Don't double url-encode URLs when doing google image searches

This commit is contained in:
David Sansome 2011-06-22 19:11:58 +00:00
parent bac414a630
commit f66e74a707

View File

@ -65,7 +65,7 @@ class GoogleImagesCoverProvider(clementine.CoverProvider):
current_args = self.api_args.copy()
current_args['q'] = query
return QUrl(self.API_URL.format(urllib.urlencode(current_args)))
return QUrl.fromEncoded(self.API_URL.format(urllib.urlencode(current_args)))
provider = GoogleImagesCoverProvider()