diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-11-26 21:35:03 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-11-26 21:35:03 +0100 |
commit | 652cdaa269725dfbf9effdc18a8fd0b369100399 (patch) | |
tree | dbadaf3e287b6df6eda2cd71e3db6f86c72cfc97 /test | |
parent | e26f8712289c727a43d74a4669aee4924b9f75f2 (diff) |
[youtube:playlist] Add support for YouTube mixes (fixes #1839)
Diffstat (limited to 'test')
-rw-r--r-- | test/test_youtube_lists.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/test_youtube_lists.py b/test/test_youtube_lists.py index 8fd073f31..95f07d129 100644 --- a/test/test_youtube_lists.py +++ b/test/test_youtube_lists.py @@ -107,5 +107,14 @@ class TestYoutubeLists(unittest.TestCase): result = ie.extract('http://www.youtube.com/show/airdisasters') self.assertTrue(len(result) >= 3) + def test_youtube_mix(self): + dl = FakeYDL() + ie = YoutubePlaylistIE(dl) + result = ie.extract('http://www.youtube.com/watch?v=lLJf9qJHR3E&list=RDrjFaenf1T-Y') + entries = result['entries'] + self.assertTrue(len(entries) >= 20) + original_video = entries[0] + self.assertEqual(original_video['id'], 'rjFaenf1T-Y') + if __name__ == '__main__': unittest.main() |