mirror of
https://github.com/beetbox/beets.git
synced 2026-02-21 14:56:02 +01:00
Merge pull request #3905 from xhocquet/tekstowo-fix
Fix falso positive lyric pages for Tekstowo
This commit is contained in:
commit
63ec2bf31e
2 changed files with 10 additions and 2 deletions
|
|
@ -437,8 +437,14 @@ class Tekstowo(Backend):
|
|||
except HTMLParseError:
|
||||
return None
|
||||
|
||||
song_row = html.find("div", class_="content"). \
|
||||
find_all("div", class_="box-przeboje")[0]
|
||||
song_rows = html.find("div", class_="content"). \
|
||||
find("div", class_="card"). \
|
||||
find_all("div", class_="box-przeboje")
|
||||
|
||||
if not song_rows:
|
||||
return None
|
||||
|
||||
song_row = song_rows[0]
|
||||
|
||||
if not song_row:
|
||||
return None
|
||||
|
|
|
|||
|
|
@ -353,6 +353,8 @@ Fixes:
|
|||
:bug:`3870`
|
||||
* Allow equals within ``--set`` value when importing.
|
||||
:bug:`2984`
|
||||
* :doc:`/plugins/lyrics`: Fix crashes for Tekstowo false positives
|
||||
:bug:`3904`
|
||||
|
||||
For plugin developers:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue