mirror of
https://github.com/beetbox/beets.git
synced 2025-12-16 05:34:47 +01:00
fix: use query param for genius search
This commit is contained in:
parent
3c7853712f
commit
69fe1d1baf
1 changed files with 1 additions and 1 deletions
|
|
@ -377,7 +377,7 @@ class Genius(Backend):
|
|||
data = {'q': title + " " + artist.lower()}
|
||||
try:
|
||||
response = requests.get(
|
||||
search_url, data=data, headers=self.headers)
|
||||
search_url, params=data, headers=self.headers)
|
||||
except requests.RequestException as exc:
|
||||
self._log.debug('Genius API request failed: {0}', exc)
|
||||
return None
|
||||
|
|
|
|||
Loading…
Reference in a new issue