search: also add artists without browseId to artists list (closes #187)
also fixed missing feedbackTokens for songs already in the library
This commit is contained in:
parent
0c348eb701
commit
15e1b69698
4 changed files with 15 additions and 9 deletions
|
|
@ -102,7 +102,7 @@ class TestYTMusic(unittest.TestCase):
|
|||
|
||||
def test_get_album(self):
|
||||
results = youtube_auth.get_album(sample_album)
|
||||
self.assertEqual(len(results), 9)
|
||||
self.assertGreaterEqual(len(results), 9)
|
||||
self.assertTrue(results['tracks'][0]['isExplicit'])
|
||||
self.assertIn('feedbackTokens', results['tracks'][0])
|
||||
results = youtube.get_album("MPREb_BQZvl3BFGay")
|
||||
|
|
|
|||
Loading…
Reference in a new issue