mirror of
https://github.com/beetbox/beets.git
synced 2025-12-20 15:43:58 +01:00
Merge pull request #4177 from piu130/master
[Lyrics] Genius uses query param not body
This commit is contained in:
commit
bc898aadd2
2 changed files with 5 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
|
||||
|
|
|
|||
|
|
@ -6,6 +6,10 @@ Changelog
|
|||
|
||||
Changelog goes here!
|
||||
|
||||
Bug fixes:
|
||||
|
||||
* :doc:`/plugins/lyrics`: Fix Genius search by using query params instead of body.
|
||||
|
||||
For packagers:
|
||||
|
||||
* We fixed a version for the dependency on the `Confuse`_ library.
|
||||
|
|
|
|||
Loading…
Reference in a new issue