get_streaming_data: handle unplayable videos
This commit is contained in:
parent
028b678112
commit
063af84a5f
2 changed files with 6 additions and 3 deletions
|
|
@ -84,7 +84,7 @@ class TestYTMusic(unittest.TestCase):
|
|||
self.assertGreaterEqual(len(song), 16)
|
||||
|
||||
def test_get_streaming_data(self):
|
||||
streaming_data = youtube.get_streaming_data("NRUVdGLf2GI")
|
||||
streaming_data = youtube_auth.get_streaming_data("ZrOKjDZOtkA")
|
||||
self.assertEqual(len(streaming_data), 3)
|
||||
|
||||
###############
|
||||
|
|
|
|||
Loading…
Reference in a new issue