YoutubeIE,
YoutubeChannelIE,
YoutubeShowIE,
+ YoutubeTopListIE,
)
original_video = entries[0]
self.assertEqual(original_video['id'], 'rjFaenf1T-Y')
+ def test_youtube_toplist(self):
+ dl = FakeYDL()
+ ie = YoutubeTopListIE(dl)
+ result = ie.extract('yttoplist:music:Top Tracks')
+ entries = result['entries']
+ self.assertTrue(len(entries) >= 5)
+
if __name__ == '__main__':
unittest.main()