1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-25 08:35:50 +01:00

Fix test_youtube_flat_playlist_extraction

This commit is contained in:
df 2021-11-01 04:44:57 +00:00 committed by dirkf
parent d76d59d99d
commit 39ca35e765

View File

@ -52,7 +52,7 @@ class TestYoutubeLists(unittest.TestCase):
entries = list(result['entries']) entries = list(result['entries'])
self.assertTrue(len(entries) == 1) self.assertTrue(len(entries) == 1)
video = entries[0] video = entries[0]
self.assertEqual(video['_type'], 'url_transparent') self.assertEqual(video['_type'], 'url')
self.assertEqual(video['ie_key'], 'Youtube') self.assertEqual(video['ie_key'], 'Youtube')
self.assertEqual(video['id'], 'BaW_jenozKc') self.assertEqual(video['id'], 'BaW_jenozKc')
self.assertEqual(video['url'], 'BaW_jenozKc') self.assertEqual(video['url'], 'BaW_jenozKc')