lyrics: fix bad_triggers in the google plugin

regression from 117d16f
This commit is contained in:
wisp3rwind 2020-07-12 22:18:30 +02:00
parent 16fddbaef6
commit 44e4d558c9
2 changed files with 4 additions and 1 deletions

View file

@ -563,7 +563,7 @@ class Google(Backend):
bad_triggers = ['lyrics', 'copyright', 'property', 'links']
if artist:
bad_triggers_occ += [artist]
bad_triggers += [artist]
for item in bad_triggers:
bad_triggers_occ += [item] * len(re.findall(r'\W%s\W' % item,

View file

@ -136,6 +136,9 @@ New features:
instead of just the child work.
Thanks to :user:`aereaux`.
:bug:`3650`
* :doc:`/plugins/lyrics`: Fix a bug in the heuristic for detecting valid
lyrics in the Google source of the lyrics plugin
:bug:`2969`
Fixes: