mirror of
https://github.com/beetbox/beets.git
synced 2026-02-19 13:56:22 +01:00
Fix MusiXmatch text extraction markers
This commit is contained in:
parent
2bf58a61c3
commit
a165d6c00b
1 changed files with 2 additions and 2 deletions
|
|
@ -263,8 +263,8 @@ class MusiXmatch(SymbolsReplaced):
|
|||
html = self.fetch_url(url)
|
||||
if not html:
|
||||
return
|
||||
lyrics = extract_text_between(html,
|
||||
'"body":', '"language":')
|
||||
lyrics = extract_text_between(html, '<p class="mxm-lyrics__content" data-reactid="135">',
|
||||
'</p>')
|
||||
return lyrics.strip(',"').replace('\\n', '\n')
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue