diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_playlists.py | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/test/test_playlists.py b/test/test_playlists.py index 42051fe2a..71dac1b02 100644 --- a/test/test_playlists.py +++ b/test/test_playlists.py @@ -30,6 +30,7 @@ from youtube_dl.extractor import (      SoundcloudPlaylistIE,      TeacherTubeClassroomIE,      LivestreamIE, +    LivestreamOriginalIE,      NHLVideocenterIE,      BambuserChannelIE,      BandcampAlbumIE, @@ -155,6 +156,14 @@ class TestPlaylists(unittest.TestCase):          self.assertEqual(result['title'], 'TEDCity2.0 (English)')          self.assertTrue(len(result['entries']) >= 4) +    def test_livestreamoriginal_folder(self): +        dl = FakeYDL() +        ie = LivestreamOriginalIE(dl) +        result = ie.extract('https://www.livestream.com/newplay/folder?dirId=a07bf706-d0e4-4e75-a747-b021d84f2fd3') +        self.assertIsPlaylist(result) +        self.assertEqual(result['id'], 'a07bf706-d0e4-4e75-a747-b021d84f2fd3') +        self.assertTrue(len(result['entries']) >= 28) +      def test_nhl_videocenter(self):          dl = FakeYDL()          ie = NHLVideocenterIE(dl)  | 
