diff options
author | Jaime Marquínez Ferrándiz <[email protected]> | 2013-12-01 22:36:18 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <[email protected]> | 2013-12-01 22:36:18 +0100 |
commit | 55a10eab48776197245d3d87b86195f182d8d82a (patch) | |
tree | c96c845cfc43cf6e6639ef0a3131739b30bf3846 /test/test_playlists.py | |
parent | 355e4fd07e7f9c0632d9d78415675f8b5cc3c2ce (diff) | |
download | youtube-dl-55a10eab48776197245d3d87b86195f182d8d82a.tar.gz youtube-dl-55a10eab48776197245d3d87b86195f182d8d82a.zip |
[vimeo] Add an extractor for users (closes #1871)
Diffstat (limited to 'test/test_playlists.py')
-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 167801ae2..13a6f4b2f 100644 --- a/test/test_playlists.py +++ b/test/test_playlists.py @@ -15,6 +15,7 @@ from youtube_dl.extractor import ( DailymotionPlaylistIE, DailymotionUserIE, VimeoChannelIE, + VimeoUserIE, UstreamChannelIE, SoundcloudSetIE, SoundcloudUserIE, @@ -54,6 +55,14 @@ class TestPlaylists(unittest.TestCase): self.assertEqual(result['title'], u'Vimeo Tributes') self.assertTrue(len(result['entries']) > 24) + def test_vimeo_user(self): + dl = FakeYDL() + ie = VimeoUserIE(dl) + result = ie.extract('http://vimeo.com/nkistudio/videos') + self.assertIsPlaylist(result) + self.assertEqual(result['title'], u'Nki') + self.assertTrue(len(result['entries']) > 65) + def test_ustream_channel(self): dl = FakeYDL() ie = UstreamChannelIE(dl) |