aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-05-13 09:45:27 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-05-13 09:45:27 +0200
commit7b93c2c204d7bad9285b5c9db12ff2acb01338e6 (patch)
treefceb21316e744e1caa393dee47431fe371a66d67 /test
parent57c7411f4615cda595f06fa461719b4336d808f4 (diff)
parentea783d01e1bbe56657bff752d062bfb1d8a9bc3e (diff)
downloadyoutube-dl-7b93c2c204d7bad9285b5c9db12ff2acb01338e6.tar.xz
Merge remote-tracking branch 'jnormore/vine_user'
Diffstat (limited to 'test')
-rw-r--r--test/test_playlists.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_playlists.py b/test/test_playlists.py
index fe6274e60..cc871698a 100644
--- a/test/test_playlists.py
+++ b/test/test_playlists.py
@@ -23,6 +23,7 @@ from youtube_dl.extractor import (
VimeoUserIE,
VimeoAlbumIE,
VimeoGroupsIE,
+ VineUserIE,
UstreamChannelIE,
SoundcloudSetIE,
SoundcloudUserIE,
@@ -102,6 +103,13 @@ class TestPlaylists(unittest.TestCase):
self.assertEqual(result['title'], 'Rolex Awards for Enterprise')
self.assertTrue(len(result['entries']) > 72)
+ def test_vine_user(self):
+ dl = FakeYDL()
+ ie = VineUserIE(dl)
+ result = ie.extract('https://vine.co/Visa')
+ self.assertIsPlaylist(result)
+ self.assertTrue(len(result['entries']) >= 50)
+
def test_ustream_channel(self):
dl = FakeYDL()
ie = UstreamChannelIE(dl)