From 69fe1d1bafc02112912fa1bf8b68fa04f8d9691a Mon Sep 17 00:00:00 2001 From: Ramon Boss Date: Tue, 30 Nov 2021 20:10:56 +0100 Subject: [PATCH] fix: use query param for genius search --- beetsplug/lyrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/lyrics.py b/beetsplug/lyrics.py index 2cb50ca5e..7d026def1 100644 --- a/beetsplug/lyrics.py +++ b/beetsplug/lyrics.py @@ -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