mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[vimeo] Add an extractor for groups
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jaime Marquínez Ferrándiz
					Jaime Marquínez Ferrándiz