summaryrefslogtreecommitdiffhomepage
path: root/test/test_playlists.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <[email protected]>2013-12-06 22:01:41 +0100
committerJaime Marquínez Ferrándiz <[email protected]>2013-12-06 22:01:41 +0100
commitfb30ec22fd25e2dfc57ecf821d3072c2d8ab3ce7 (patch)
tree72502e2b91679ec5f91ce682ad8ee119a96d68c1 /test/test_playlists.py
parent5cc14c2fd74a721be0effd5bc06a76164a9c97a1 (diff)
downloadyoutube-dl-fb30ec22fd25e2dfc57ecf821d3072c2d8ab3ce7.tar.gz
youtube-dl-fb30ec22fd25e2dfc57ecf821d3072c2d8ab3ce7.zip
[vimeo] Add an extractor for groups
Diffstat (limited to 'test/test_playlists.py')
-rw-r--r--test/test_playlists.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/test_playlists.py b/test/test_playlists.py
index 6a5e0b780..87ca401e5 100644
--- a/test/test_playlists.py
+++ b/test/test_playlists.py
@@ -17,6 +17,7 @@ from youtube_dl.extractor import (
VimeoChannelIE,
VimeoUserIE,
VimeoAlbumIE,
+ VimeoGroupsIE,
UstreamChannelIE,
SoundcloudSetIE,
SoundcloudUserIE,
@@ -74,6 +75,14 @@ class TestPlaylists(unittest.TestCase):
self.assertEqual(result['title'], u'Staff Favorites: November 2013')
self.assertTrue(len(result['entries']) > 12)
+ def test_vimeo_groups(self):
+ dl = FakeYDL()
+ ie = VimeoGroupsIE(dl)
+ result = ie.extract('http://vimeo.com/groups/rolexawards')
+ self.assertIsPlaylist(result)
+ self.assertEqual(result['title'], u'Rolex Awards for Enterprise')
+ self.assertTrue(len(result['entries']) > 72)
+
def test_ustream_channel(self):
dl = FakeYDL()
ie = UstreamChannelIE(dl)