summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2013-11-22 22:46:46 +0100
committerPhilipp Hagemeister <[email protected]>2013-11-22 22:46:46 +0100
commit7012b23c947fc1ed146e314a30d3c70a5fde70e7 (patch)
treec42cb6445eb221bdb416454a29b44608517351b5 /test
parent50123be4211e2c16aa5d2fc9ebadbaf72a9becce (diff)
downloadyoutube-dl-7012b23c947fc1ed146e314a30d3c70a5fde70e7.tar.gz
youtube-dl-7012b23c947fc1ed146e314a30d3c70a5fde70e7.zip
Match --download-archive during playlist processing (Fixes #1745)
Diffstat (limited to 'test')
-rw-r--r--test/test_youtube_lists.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_youtube_lists.py b/test/test_youtube_lists.py
index 50ad52695..938517a2d 100644
--- a/test/test_youtube_lists.py
+++ b/test/test_youtube_lists.py
@@ -84,16 +84,16 @@ class TestYoutubeLists(unittest.TestCase):
dl = FakeYDL()
ie = YoutubeChannelIE(dl)
#test paginated channel
- result = ie.extract('https://www.youtube.com/channel/UCKfVa3S1e4PHvxWcwyMMg8w')[0]
+ result = ie.extract('https://www.youtube.com/channel/UCKfVa3S1e4PHvxWcwyMMg8w')
self.assertTrue(len(result['entries']) > 90)
#test autogenerated channel
- result = ie.extract('https://www.youtube.com/channel/HCtnHdj3df7iM/videos')[0]
+ result = ie.extract('https://www.youtube.com/channel/HCtnHdj3df7iM/videos')
self.assertTrue(len(result['entries']) >= 18)
def test_youtube_user(self):
dl = FakeYDL()
ie = YoutubeUserIE(dl)
- result = ie.extract('https://www.youtube.com/user/TheLinuxFoundation')[0]
+ result = ie.extract('https://www.youtube.com/user/TheLinuxFoundation')
self.assertTrue(len(result['entries']) >= 320)
def test_youtube_safe_search(self):