mirror of
https://github.com/beetbox/beets.git
synced 2026-01-14 20:24:36 +01:00
Make Tekstowo scraper more specific
This commit is contained in:
parent
2fea53c34d
commit
3f896ab281
1 changed files with 2 additions and 2 deletions
|
|
@ -488,11 +488,11 @@ class Tekstowo(Backend):
|
|||
if not soup:
|
||||
return None
|
||||
|
||||
lyrics_div = soup.find("div", class_="song-text")
|
||||
lyrics_div = soup.select("div.song-text > div.inner-text")
|
||||
if not lyrics_div:
|
||||
return None
|
||||
|
||||
return lyrics_div.get_text()
|
||||
return lyrics_div[0].get_text()
|
||||
|
||||
|
||||
def remove_credits(text):
|
||||
|
|
|
|||
Loading…
Reference in a new issue