mirror of
https://github.com/beetbox/beets.git
synced 2025-12-08 09:34:23 +01:00
Remove useless unescape
Remove useless unescape as _scrape_script_cruft does it for us.
This commit is contained in:
parent
1be9c3003e
commit
c5e2334fb5
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ class LyricsWiki(SymbolsReplaced):
|
|||
|
||||
# Get the HTML fragment inside the appropriate HTML element and then
|
||||
# extract the text from it.
|
||||
html_frag = extract_text_in(unescape(html), u"<div class='lyricbox'>")
|
||||
html_frag = extract_text_in(html, u"<div class='lyricbox'>")
|
||||
lyrics = _scrape_strip_cruft(html_frag, True)
|
||||
|
||||
if lyrics and 'Unfortunately, we are not licensed' not in lyrics:
|
||||
|
|
|
|||
Loading…
Reference in a new issue