コード例 #1
0
 def test_ustream_channel(self):
     dl = FakeYDL()
     ie = UstreamChannelIE(dl)
     result = ie.extract('http://www.ustream.tv/channel/young-americans-for-liberty')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], u'5124905')
     self.assertTrue(len(result['entries']) >= 11)
コード例 #2
0
ファイル: test_playlists.py プロジェクト: 0m15/youtube-dl
 def test_ustream_channel(self):
     dl = FakeYDL()
     ie = UstreamChannelIE(dl)
     result = ie.extract("http://www.ustream.tv/channel/channeljapan")
     self.assertIsPlaylist(result)
     self.assertEqual(result["id"], "10874166")
     self.assertTrue(len(result["entries"]) >= 54)
コード例 #3
0
 def test_ustream_channel(self):
     dl = FakeYDL()
     ie = UstreamChannelIE(dl)
     result = ie.extract('http://www.ustream.tv/channel/channeljapan')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], '10874166')
     assertGreaterEqual(self, len(result['entries']), 54)
コード例 #4
0
 def test_ustream_channel(self):
     dl = FakeYDL()
     ie = UstreamChannelIE(dl)
     result = ie.extract('http://www.ustream.tv/channel/channeljapan')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], '10874166')
     assertGreaterEqual(self, len(result['entries']), 54)
コード例 #5
0
ファイル: test_playlists.py プロジェクト: nikai3d/youtube-dl
 def test_ustream_channel(self):
     dl = FakeYDL()
     ie = UstreamChannelIE(dl)
     result = ie.extract("http://www.ustream.tv/channel/young-americans-for-liberty")
     self.assertIsPlaylist(result)
     self.assertEqual(result["id"], u"5124905")
     self.assertTrue(len(result["entries"]) >= 11)
コード例 #6
0
 def test_ustream_channel(self):
     dl = FakeYDL()
     ie = UstreamChannelIE(dl)
     result = ie.extract(
         'http://www.ustream.tv/channel/young-americans-for-liberty')
     self.assertIsPlaylist(result)
     self.assertEqual(result['id'], u'5124905')
     self.assertTrue(len(result['entries']) >= 11)