From 07af27e44b9c923e23673f46aa3de683b34d15ae Mon Sep 17 00:00:00 2001 From: Fabrice Laporte Date: Tue, 2 May 2017 23:40:25 +0200 Subject: [PATCH] Lyrics are last paragraph with class 'mxm-lyrics__content' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove ‘data-reactid’ from marker. --- beetsplug/lyrics.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/beetsplug/lyrics.py b/beetsplug/lyrics.py index f75b157c7..39e1502ed 100644 --- a/beetsplug/lyrics.py +++ b/beetsplug/lyrics.py @@ -263,9 +263,8 @@ class MusiXmatch(SymbolsReplaced): html = self.fetch_url(url) if not html: return - lyrics = extract_text_between(html, - '

', - '

') + html_part = html.split('