aboutsummaryrefslogtreecommitdiff
path: root/test/test_playlists.py
diff options
context:
space:
mode:
authorJason Normore <jnormore@gmail.com>2014-05-10 23:18:20 -0400
committerJason Normore <jnormore@gmail.com>2014-05-10 23:18:20 -0400
commitea783d01e1bbe56657bff752d062bfb1d8a9bc3e (patch)
tree0e09de6f5d40b0f93fd90be29c39b511448cba50 /test/test_playlists.py
parentb7d73595dc20b0cea74efa7b29c448c7883d7c8b (diff)
Added VineUserIE extractor for vine user timeline
Added vine user timeline extractor using unofficial vine api user profile and timeline api endpoints.
Diffstat (limited to 'test/test_playlists.py')
-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)