mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	Merge remote-tracking branch 'pulpe/teachertube'
Conflicts: youtube_dl/extractor/__init__.py
This commit is contained in:
		| @@ -28,6 +28,7 @@ from youtube_dl.extractor import ( | ||||
|     SoundcloudSetIE, | ||||
|     SoundcloudUserIE, | ||||
|     SoundcloudPlaylistIE, | ||||
|     TeacherTubeClassroomIE, | ||||
|     LivestreamIE, | ||||
|     NHLVideocenterIE, | ||||
|     BambuserChannelIE, | ||||
| @@ -360,5 +361,13 @@ class TestPlaylists(unittest.TestCase): | ||||
|             result['title'], 'Brace Yourself - Today\'s Weirdest News') | ||||
|         self.assertTrue(len(result['entries']) >= 10) | ||||
|  | ||||
|     def test_TeacherTubeClassroom(self): | ||||
|         dl = FakeYDL() | ||||
|         ie = TeacherTubeClassroomIE(dl) | ||||
|         result = ie.extract('http://www.teachertube.com/view_classroom.php?user=rbhagwati2') | ||||
|         self.assertIsPlaylist(result) | ||||
|         self.assertEqual(result['id'], 'rbhagwati2') | ||||
|         self.assertTrue(len(result['entries']) >= 20) | ||||
|  | ||||
| if __name__ == '__main__': | ||||
|     unittest.main() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister