mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 04:55:10 +01:00
change lyrics.com song
This commit is contained in:
parent
a41106652e
commit
01f484712e
1 changed files with 4 additions and 3 deletions
|
|
@ -206,8 +206,9 @@ DEFAULT_SONG = dict(artist=u'The Beatles', title=u'Lady Madonna')
|
|||
DEFAULT_SOURCES = [
|
||||
dict(DEFAULT_SONG, url=u'http://lyrics.wikia.com/',
|
||||
path=u'The_Beatles:Lady_Madonna'),
|
||||
dict(DEFAULT_SONG, url='http://www.lyrics.com/',
|
||||
path=u'lady-madonna-lyrics-the-beatles.html'),
|
||||
dict(artist=u'Santana', title=u'Black magic woman',
|
||||
url='http://www.lyrics.com/',
|
||||
path=u'black-magic-woman-lyrics-santana.html'),
|
||||
dict(DEFAULT_SONG, url='https://www.musixmatch.com/',
|
||||
path=u'lyrics/The-Beatles/Lady-Madonna'),
|
||||
]
|
||||
|
|
@ -318,7 +319,7 @@ class LyricsGooglePluginTest(unittest.TestCase):
|
|||
res = fun(s['artist'], s['title'])
|
||||
self.assertTrue(lyrics.is_lyrics(res))
|
||||
self.assertTrue(is_lyrics_content_ok(
|
||||
DEFAULT_SONG['title'], res))
|
||||
s['title'], res))
|
||||
|
||||
def test_is_page_candidate_exact_match(self):
|
||||
"""Test matching html page title with song infos -- when song infos are
|
||||
|
|
|
|||
Loading…
Reference in a new issue