From 406dabbe3097915d7b2c5bfeef88e4e476871b34 Mon Sep 17 00:00:00 2001 From: Parmjit Virk Date: Thu, 22 Jun 2017 05:58:01 -0500 Subject: [PATCH] [BlenderCloud] Updated tests --- youtube_dl/extractor/blendercloud.py | 56 ++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/youtube_dl/extractor/blendercloud.py b/youtube_dl/extractor/blendercloud.py index 03d553a63..542640225 100644 --- a/youtube_dl/extractor/blendercloud.py +++ b/youtube_dl/extractor/blendercloud.py @@ -209,6 +209,62 @@ class BlenderCloudPlaylistIE(BlenderCloudBaseIE): 'No video sources available.' ], }, + { + # Playlist (complete) + 'url': 'https://cloud.blender.org/p/blender-inside-out/', + 'info_dict': { + 'id': 'blender-inside-out', + 'title': 'From Maya and Max to Blender — Blender Cloud', + }, + 'playlist': [ + { + 'info_dict': { + 'id': '560414b7044a2a00c4a6da99', + 'display_id': 'blender-inside-out', + 'ext': 'mp4', + 'title': 'Interface Tour', + }, + }, + { + 'info_dict': { + 'id': '560414b7044a2a00c4a6da9d', + 'display_id': 'blender-inside-out', + 'ext': 'mp4', + 'title': 'Search', + }, + }, + { + 'info_dict': { + 'id': '560414b7044a2a00c4a6da9b', + 'display_id': 'blender-inside-out', + 'ext': 'mp4', + 'title': 'Selection Tools', + }, + }, + { + 'info_dict': { + 'id': '560414b7044a2a00c4a6da9c', + 'display_id': 'blender-inside-out', + 'ext': 'mp4', + 'title': 'Transform Tools', + }, + }, + { + 'info_dict': { + 'id': '560414b7044a2a00c4a6da9a', + 'display_id': 'blender-inside-out', + 'ext': 'mp4', + 'title': 'Viewport Navigation', + }, + }, + ], + 'expected_warnings': [ + 'No video sources available.' + ], + 'params': { + 'only_matching': True, + }, + }, ] def _real_extract(self, url):