Don't double url-encode URLs when doing google image searches
This commit is contained in:
parent
bac414a630
commit
f66e74a707
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user